When I was compiling the enzohop, It failed and the output is as follows:
mpic++ -O2 -o enzohop.exe HopAnalysis.o hop_hop.o hop_regroup.o hop_kd.o hop_slice.o hop_smooth.o ../../src/enzo/*.o ../../src/enzo/hydro_rk/*.o ../../src/enzo/uuid/*.o -L/usr/lib/x86_64-linux-gnu/ -lhdf5_serial -lz -lgfortran
/usr/bin/ld: hop_regroup.o: in function `merge_groups_boundaries(slicestruct*, groupliststruct*, char*, float, float, float)':
hop_regroup.C:(.text+0x985): warning: the use of `tmpnam' is dangerous, better use `mkstemp'
/usr/bin/ld: ../../src/enzo/CommunicationTranspose.o: in function `CommunicationTranspose(region*, int, region*, int, int)':
CommunicationTranspose.C:(.text+0x21d8): undefined reference to `enzo_timer'
/usr/bin/ld: CommunicationTranspose.C:(.text+0x256f): undefined reference to `enzo_timer'
/usr/bin/ld: ../../src/enzo/EvolveLevel.o: in function `EvolveLevel(TopGridData*, LevelHierarchyEntry**, int, float, ExternalBoundary*, ImplicitProblemABC*, float, SiblingGridList**)':
EvolveLevel.C:(.text+0x53f): undefined reference to `enzo_timer'
/usr/bin/ld: EvolveLevel.C:(.text+0x818): undefined reference to `enzo_timer'
/usr/bin/ld: EvolveLevel.C:(.text+0xa9d): undefined reference to `enzo_timer'
/usr/bin/ld: ../../src/enzo/EvolveLevel.o:EvolveLevel.C:(.text+0x135d): more undefined references to `enzo_timer' follow
collect2: error: ld returned 1 exit status
So what should I do to solve this problem? Thanks.
Jiang Yiheng