[Users] link problems
Mohror, Kathryn
mohror1 at llnl.gov
Thu Feb 24 14:36:32 CST 2011
Hi,
I'm new at Einstein/Cactus and am having trouble at link time when following the tutorial instructions (https://docs.einsteintoolkit.org/et-docs/Tutorial_for_New_Users#Any_Problems.3F)
I've gotten to the point where the output of:
./simfactory/sim build --optionlist=simfactory/optionlists/generic.cfg --thornlist=manifest/einsteintoolkit.th
Says:
Creating cactus_sim in /g/g23/mohror1/Einstein/Cactus/exe from ... (followed by lots of names of thorns)
Then, I get a load of undefined reference errors, the first two of which are:
/g/g23/mohror1/Einstein/Cactus/configs/sim/lib/libthorn_CactusBindings.a(EOSG_Polytrope_Functions.c.o): In function `CCTK_Wrapper_FtoC_EOS_GP_DPDIE':
EOSG_Polytrope_Functions.c:(.text+0xe): undefined reference to `eos_gp_dpdie_'
/g/g23/mohror1/Einstein/Cactus/configs/sim/lib/libthorn_CactusBindings.a(EOSG_Polytrope_Functions.c.o): In function `CCTK_Wrapper_FtoC_EOS_GP_IntEn':
EOSG_Polytrope_Functions.c:(.text+0x2e): undefined reference to `eos_gp_inten_'
In configs/sim/lib there is a libthorn_EOSG_Polytrope.a which I believe should contain these symbols. However, when I do an 'nm' of the library, the symbols are undefined:
configs/sim/lib/libthorn_EOSG_Polytrope.a:
EOS_GP_Setup.c.o:
U CCTK_Warn
U EOS_GP_Inverse_SetArray
U EOS_GP_SetArray
0000000000000000 T EOS_GP_Startup
U EOS_RegisterCall
U Util_TableCreate
U Util_TableSetInt
U Util_TableSetString
EOS_GP.c.o:
0000000000000000 T EOS_GP_Inverse_SetArray
00000000000000e0 T EOS_GP_SetArray
U eos_gp_cs2_
U eos_gp_dpdie_
U eos_gp_dpdrho_
U eos_gp_inten_
U eos_gp_inv_cs2_
U eos_gp_inv_dpdie_
U eos_gp_inv_dpdrho_
U eos_gp_inv_inten_
U eos_gp_inv_rho_
U eos_gp_pressure_
Any ideas on what I'm doing wrong? (I'm using gcc/g++/gfortran on a Linux cluster)
Thanks,
-- Kathryn
More information about the Users
mailing list