a problem of compiling enzohop

25 views
Skip to first unread message

江以恒

unread,
Jun 9, 2023, 12:54:34 PM6/9/23
to enzo-dev
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

Greg Bryan

unread,
Jul 5, 2023, 5:34:03 PM7/5/23
to enzo...@googlegroups.com
Dear Jiang Yiheng — Apologies for the delay in responding; unfortunately enzohop is not longer supported; however, you can do similar analysis with yt and in particular, the yt-astro-analysis package: https://yt-astro-analysis.readthedocs.io/en/latest/index.html

Best,
Greg

--
You received this message because you are subscribed to the Google Groups "enzo-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to enzo-dev+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/enzo-dev/f982c370-3eb0-4bfd-b0a8-85938f296722n%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages