Hi everyone,
I met an installation problem about Calculix-2.19 adapter. Any help or advice would be greatly appreciated!!
Following the official tutorial, I get the following error at the end of the compilation:
gfortran -fopenmp -Wall -O3 -o bin/ccx_preCICE bin/ccx_2.19.o bin/ccx_2.19.a -L/work/ec055/ec055/yhuang94/Dependencies/SPOOLES.2.2/spooles.a -L/work/ec055/ec055/yhuang94/Dependencies/precice-2.4.0/lib64 -lprecice -lstdc++ -L/work/ec055/ec055/yhuang94/Dependencies/yaml-cpp-yaml-cpp-0.6.2/build -lyaml-cpp -L/work/ec055/ec055/yhuang94/Dependencies/ARPACK/libarpack_INTEL.a -lpthread -lm -lc
bin/ccx_2.19.a(arpack.o): In functionarpack': arpack.c:(.text+0x16c5): undefined reference todsaupd_â
arpack.c:(.text+0x1889): undefined reference todsaupd_' arpack.c:(.text+0x199c): undefined reference todseupd_â
arpack.c:(.text+0x3b3b): undefined reference todnaupd_' arpack.c:(.text+0x53ce): undefined reference todnaupd_â
arpack.c:(.text+0x5519): undefined reference todneupd_' bin/ccx_2.19.a(arpackbu.o): In functionarpackbuâ:
arpackbu.c:(.text+0x1b85): undefined reference todsaupd_' arpackbu.c:(.text+0x1c95): undefined reference todsaupd_â
arpackbu.c:(.text+0x2743): undefined reference todseupd_' bin/ccx_2.19.a(arpackcs.o): In functionarpackcsâ:
arpackcs.c:(.text+0x1be3): undefined reference todsaupd_' arpackcs.c:(.text+0x1d1b): undefined reference todsaupd_â
arpackcs.c:(.text+0x1edb): undefined reference todnaupd_' arpackcs.c:(.text+0x2848): undefined reference todnaupd_â
arpackcs.c:(.text+0xbe91): undefined reference todseupd_' arpackcs.c:(.text+0xf236): undefined reference todneupd_â
bin/ccx_2.19.a(spooles.o): In functionfactor': spooles.c:(.text+0x3c): undefined reference toDVfillâ
spooles.c:(.text+0x4d): undefined reference toGraph_new' spooles.c:(.text+0x58): undefined reference toInpMtx_fullAdjacencyâ
spooles.c:(.text+0x64): undefined reference toIVL_tsize' spooles.c:(.text+0x84): undefined reference toGraph_init2â
spooles.c:(.text+0xaf): undefined reference toorderViaBestOfNDandMS' spooles.c:(.text+0xc1): undefined reference toETree_oldToNewVtxPermâ
spooles.c:(.text+0xcd): undefined reference toIV_entries' spooles.c:(.text+0xda): undefined reference toETree_newToOldVtxPermâ
spooles.c:(.text+0xea): undefined reference toETree_permuteVertices' spooles.c:(.text+0xfd): undefined reference toInpMtx_permuteâ
spooles.c:(.text+0x10d): undefined reference toInpMtx_mapToUpperTriangle' spooles.c:(.text+0x11a): undefined reference toInpMtx_changeCoordTypeâ
spooles.c:(.text+0x127): undefined reference toInpMtx_changeStorageMode' spooles.c:(.text+0x132): undefined reference toSymbFac_initFromInpMtxâ
spooles.c:(.text+0x13a): undefined reference toFrontMtx_new' spooles.c:(.text+0x143): undefined reference toSubMtxManager_newâ
spooles.c:(.text+0x156): undefined reference toSubMtxManager_init' spooles.c:(.text+0x18e): undefined reference toFrontMtx_initâ
spooles.c:(.text+0x197): undefined reference toChvManager_new' spooles.c:(.text+0x1a9): undefined reference toChvManager_initâ
spooles.c:(.text+0x1ba): undefined reference toIVfill' spooles.c:(.text+0x1ea): undefined reference toFrontMtx_factorInpMtxâ
spooles.c:(.text+0x1f5): undefined reference toChvManager_free' spooles.c:(.text+0x219): undefined reference toFrontMtx_postProcessâ
spooles.c:(.text+0x221): undefined reference toIVL_free' spooles.c:(.text+0x229): undefined reference toInpMtx_freeâ
spooles.c:(.text+0x231): undefined reference toGraph_free' bin/ccx_2.19.a(spooles.o): In functionfsolveâ:
spooles.c:(.text+0x292): undefined reference toDenseMtx_permuteRows' spooles.c:(.text+0x297): undefined reference toDenseMtx_newâ
spooles.c:(.text+0x2b8): undefined reference toDenseMtx_init' spooles.c:(.text+0x2c0): undefined reference toDenseMtx_zeroâ
spooles.c:(.text+0x2e4): undefined reference toFrontMtx_solve' spooles.c:(.text+0x2f0): undefined reference toDenseMtx_permuteRowsâ
spooles.c:(.text+0x2f8): undefined reference toDenseMtx_free' bin/ccx_2.19.a(spooles.o): In functionfactor_MTâ:
spooles.c:(.text+0x34f): undefined reference toDVfill' spooles.c:(.text+0x354): undefined reference toGraph_newâ
spooles.c:(.text+0x361): undefined reference toInpMtx_fullAdjacency' spooles.c:(.text+0x36c): undefined reference toIVL_tsizeâ
spooles.c:(.text+0x38d): undefined reference toGraph_init2' spooles.c:(.text+0x3b3): undefined reference toorderViaBestOfNDandMSâ
spooles.c:(.text+0x3c5): undefined reference toETree_oldToNewVtxPerm' spooles.c:(.text+0x3d1): undefined reference toIV_entriesâ
spooles.c:(.text+0x3dc): undefined reference toETree_newToOldVtxPerm' spooles.c:(.text+0x3ec): undefined reference toETree_permuteVerticesâ
spooles.c:(.text+0x3fa): undefined reference toInpMtx_permute' spooles.c:(.text+0x40a): undefined reference toInpMtx_mapToUpperTriangleâ
spooles.c:(.text+0x417): undefined reference toInpMtx_changeCoordType' spooles.c:(.text+0x424): undefined reference toInpMtx_changeStorageModeâ
spooles.c:(.text+0x42f): undefined reference toSymbFac_initFromInpMtx' spooles.c:(.text+0x43f): undefined reference toETree_nfrontâ
spooles.c:(.text+0x456): undefined reference toDV_new' spooles.c:(.text+0x46a): undefined reference toDV_initâ
spooles.c:(.text+0x4a2): undefined reference toETree_ddMap' spooles.c:(.text+0x4c3): undefined reference toDV_freeâ
spooles.c:(.text+0x4c8): undefined reference toFrontMtx_new' spooles.c:(.text+0x4d1): undefined reference toSubMtxManager_newâ
spooles.c:(.text+0x4e7): undefined reference toSubMtxManager_init' spooles.c:(.text+0x524): undefined reference toFrontMtx_initâ
spooles.c:(.text+0x52d): undefined reference toChvManager_new' spooles.c:(.text+0x547): undefined reference toChvManager_initâ
spooles.c:(.text+0x556): undefined reference toIVfill' spooles.c:(.text+0x58b): undefined reference toFrontMtx_MT_factorInpMtxâ
spooles.c:(.text+0x59a): undefined reference toChvManager_free' spooles.c:(.text+0x5c4): undefined reference toFrontMtx_postProcessâ
spooles.c:(.text+0x5c9): undefined reference toSolveMap_new' spooles.c:(.text+0x5dd): undefined reference toFrontMtx_frontTreeâ
spooles.c:(.text+0x5f5): undefined reference toFrontMtx_lowerBlockIVL' spooles.c:(.text+0x603): undefined reference toFrontMtx_upperBlockIVLâ
spooles.c:(.text+0x62a): undefined reference toSolveMap_ddMap' spooles.c:(.text+0x636): undefined reference toInpMtx_freeâ
spooles.c:(.text+0x63f): undefined reference toIVL_free' spooles.c:(.text+0x649): undefined reference toGraph_freeâ
spooles.c:(.text+0x651): undefined reference toIV_free' bin/ccx_2.19.a(spooles.o): In functionfsolve_MTâ:
spooles.c:(.text+0x6c2): undefined reference toDenseMtx_permuteRows' spooles.c:(.text+0x6c7): undefined reference toDenseMtx_newâ
spooles.c:(.text+0x6e8): undefined reference toDenseMtx_init' spooles.c:(.text+0x6f0): undefined reference toDenseMtx_zeroâ
spooles.c:(.text+0x716): undefined reference toFrontMtx_MT_solve' spooles.c:(.text+0x726): undefined reference toDenseMtx_permuteRowsâ
spooles.c:(.text+0x72e): undefined reference toDenseMtx_free' bin/ccx_2.19.a(spooles.o): In functionspooles_factorâ:
spooles.c:(.text+0x7bb): undefined reference toInpMtx_new' spooles.c:(.text+0x82b): undefined reference toInpMtx_initâ
spooles.c:(.text+0x8a0): undefined reference toInpMtx_inputRealEntry' spooles.c:(.text+0x8d1): undefined reference toInpMtx_inputRealEntryâ
spooles.c:(.text+0x931): undefined reference toInpMtx_changeStorageMode' spooles.c:(.text+0x9da): undefined reference toInpMtx_inputRealEntryâ
spooles.c:(.text+0xa2f): undefined reference toInpMtx_inputRealEntry' spooles.c:(.text+0xc1e): undefined reference toInpMtx_inputRealEntryâ
spooles.c:(.text+0xc57): undefined reference toInpMtx_inputRealEntry' spooles.c:(.text+0xc7d): undefined reference toInpMtx_inputRealEntryâ
bin/ccx_2.19.a(spooles.o):spooles.c:(.text+0xd21): more undefined references toInpMtx_inputRealEntry' follow bin/ccx_2.19.a(spooles.o): In functionspooles_solveâ:
spooles.c:(.text+0x130f): undefined reference toDenseMtx_new' spooles.c:(.text+0x1330): undefined reference toDenseMtx_initâ
spooles.c:(.text+0x1338): undefined reference toDenseMtx_zero' spooles.c:(.text+0x1361): undefined reference toDenseMtx_setRealEntryâ
spooles.c:(.text+0x13a4): undefined reference toDenseMtx_entries' spooles.c:(.text+0x13db): undefined reference toDenseMtx_permuteRowsâ
spooles.c:(.text+0x13e0): undefined reference toDenseMtx_new' spooles.c:(.text+0x1405): undefined reference toDenseMtx_initâ
spooles.c:(.text+0x140d): undefined reference toDenseMtx_zero' spooles.c:(.text+0x1436): undefined reference toFrontMtx_solveâ
spooles.c:(.text+0x1445): undefined reference toDenseMtx_permuteRows' spooles.c:(.text+0x144d): undefined reference toDenseMtx_freeâ
bin/ccx_2.19.a(spooles.o): In functionspooles_cleanup': spooles.c:(.text+0x146c): undefined reference toFrontMtx_freeâ
spooles.c:(.text+0x1478): undefined reference toIV_free' spooles.c:(.text+0x1484): undefined reference toIV_freeâ
spooles.c:(.text+0x1490): undefined reference toSubMtxManager_free' spooles.c:(.text+0x14a1): undefined reference toSolveMap_freeâ
spooles.c:(.text+0x14ad): undefined reference toETree_free' bin/ccx_2.19.a(spooles.o): In functionspooles_factor_radâ:
spooles.c:(.text+0x1544): undefined reference toInpMtx_new' spooles.c:(.text+0x15b3): undefined reference toInpMtx_initâ
spooles.c:(.text+0x1628): undefined reference toInpMtx_inputRealEntry' spooles.c:(.text+0x1659): undefined reference toInpMtx_inputRealEntryâ
spooles.c:(.text+0x16b9): undefined reference toInpMtx_changeStorageMode' spooles.c:(.text+0x175a): undefined reference toInpMtx_inputRealEntryâ
spooles.c:(.text+0x17af): undefined reference toInpMtx_inputRealEntry' spooles.c:(.text+0x1966): undefined reference toInpMtx_inputRealEntryâ
spooles.c:(.text+0x1997): undefined reference toInpMtx_inputRealEntry' spooles.c:(.text+0x19bd): undefined reference toInpMtx_inputRealEntryâ
bin/ccx_2.19.a(spooles.o):spooles.c:(.text+0x1a61): more undefined references toInpMtx_inputRealEntry' follow bin/ccx_2.19.a(spooles.o): In functionspooles_solve_radâ:
spooles.c:(.text+0x2059): undefined reference toDenseMtx_new' spooles.c:(.text+0x207a): undefined reference toDenseMtx_initâ
spooles.c:(.text+0x2082): undefined reference toDenseMtx_zero' spooles.c:(.text+0x20a9): undefined reference toDenseMtx_setRealEntryâ
spooles.c:(.text+0x20fc): undefined reference toDenseMtx_entries' spooles.c:(.text+0x2133): undefined reference toDenseMtx_permuteRowsâ
spooles.c:(.text+0x2138): undefined reference toDenseMtx_new' spooles.c:(.text+0x215d): undefined reference toDenseMtx_initâ
spooles.c:(.text+0x2165): undefined reference toDenseMtx_zero' spooles.c:(.text+0x218e): undefined reference toFrontMtx_solveâ
spooles.c:(.text+0x219d): undefined reference toDenseMtx_permuteRows' spooles.c:(.text+0x21a5): undefined reference toDenseMtx_freeâ
bin/ccx_2.19.a(spooles.o): In functionspooles_cleanup_rad': spooles.c:(.text+0x21bc): undefined reference toFrontMtx_freeâ
spooles.c:(.text+0x21c8): undefined reference toIV_free' spooles.c:(.text+0x21d4): undefined reference toIV_freeâ
spooles.c:(.text+0x21e0): undefined reference toSubMtxManager_free' spooles.c:(.text+0x21f1): undefined reference toSolveMap_freeâ
spooles.c:(.text+0x21fd): undefined reference toETree_free' bin/ccx_2.19.a(spooles.o): In functionspoolesâ:
spooles.c:(.text+0x2293): undefined reference toFrontMtx_free' spooles.c:(.text+0x229f): undefined reference toIV_freeâ
spooles.c:(.text+0x22ab): undefined reference toIV_free' spooles.c:(.text+0x22b7): undefined reference toSubMtxManager_freeâ
spooles.c:(.text+0x22c8): undefined reference toSolveMap_free' spooles.c:(.text+0x22d4): undefined reference toETree_freeâ
bin/ccx_2.19.a(spooles.o): In functionspooles_solve': spooles.c:(.text+0x13c8): undefined reference toDenseMtx_freeâ
bin/ccx_2.19.a(spooles.o): In functionspooles_solve_rad': spooles.c:(.text+0x2120): undefined reference toDenseMtx_freeâ
bin/ccx_2.19.a(dgesv.o): In functiondtrsm_': dgesv.f:(.text+0x2ce): undefined reference tolsame_â
dgesv.f:(.text+0x305): undefined reference tolsame_' dgesv.f:(.text+0x322): undefined reference tolsame_â
dgesv.f:(.text+0x35f): undefined reference tolsame_' dgesv.f:(.text+0x389): undefined reference toxerbla_â
dgesv.f:(.text+0x3c2): undefined reference tolsame_' dgesv.f:(.text+0x3e5): undefined reference tolsame_â
dgesv.f:(.text+0x416): undefined reference tolsame_' dgesv.f:(.text+0x4a0): undefined reference tolsame_â
dgesv.f:(.text+0x4bd): undefined reference tolsame_' bin/ccx_2.19.a(dgesv.o):dgesv.f:(.text+0x4e2): more undefined references tolsame_â follow
bin/ccx_2.19.a(dgesv.o): In functiondgetrs_': dgesv.f:(.text+0x1df1): undefined reference toxerbla_â
dgesv.f:(.text+0x1e31): undefined reference tolsame_' dgesv.f:(.text+0x1e55): undefined reference tolsame_â
bin/ccx_2.19.a(dgesv.o): In functiondgemm_': dgesv.f:(.text+0x20c2): undefined reference tolsame_â
dgesv.f:(.text+0x20e2): undefined reference tolsame_' dgesv.f:(.text+0x2141): undefined reference toxerbla_â
dgesv.f:(.text+0x21a6): undefined reference tolsame_' dgesv.f:(.text+0x21db): undefined reference tolsame_â
dgesv.f:(.text+0x222b): undefined reference tolsame_' dgesv.f:(.text+0x22d4): undefined reference tolsame_â
dgesv.f:(.text+0x2309): undefined reference tolsame_' bin/ccx_2.19.a(dgesv.o):dgesv.f:(.text+0x239e): more undefined references tolsame_â follow
bin/ccx_2.19.a(dgesv.o): In functiondger_': dgesv.f:(.text+0x2df2): undefined reference toxerbla_â
bin/ccx_2.19.a(dgesv.o): In functiondgetf2_': dgesv.f:(.text+0x3514): undefined reference toxerbla_â
dgesv.f:(.text+0x380d): undefined reference toxerbla_' bin/ccx_2.19.a(dgesv.o): In functiondgetrf_â:
dgesv.f:(.text+0x44e6): undefined reference toxerbla_' bin/ccx_2.19.a(dgesv.o): In functiondgesv_â:
dgesv.f:(.text+0x4b51): undefined reference toxerbla_' bin/ccx_2.19.a(randomfieldmain.o): In functionrandomfieldmainâ:
randomfieldmain.c:(.text+0xac0): undefined reference todsaupd_' randomfieldmain.c:(.text+0xc3a): undefined reference todsaupd_â
randomfieldmain.c:(.text+0xd84): undefined reference todseupd_' randomfieldmain.c:(.text+0x1b8a): undefined reference todsaupd_â
bin/ccx_2.19.a(auglag_inclusion.o): In functionauglag_inclusion_': auglag_inclusion.f:(.text+0x126): undefined reference todsymv_â
bin/ccx_2.19.a(dsptrf.o): In functiondspr_': dsptrf.f:(.text+0x3c): undefined reference tolsame_â
dsptrf.f:(.text+0x70): undefined reference toxerbla_' dsptrf.f:(.text+0xe9): undefined reference tolsame_â
dsptrf.f:(.text+0x223): undefined reference tolsame_' bin/ccx_2.19.a(dsptrf.o): In functiondsptrf_â:
dsptrf.f:(.text+0x5c5): undefined reference tolsame_' dsptrf.f:(.text+0x847): undefined reference toxerbla_â
dsptrf.f:(.text+0xc08): undefined reference todlaev2_' dsptrf.f:(.text+0xc6e): undefined reference todrot_â
dsptrf.f:(.text+0xd9b): undefined reference todrot_' dsptrf.f:(.text+0xe21): undefined reference todlaev2_â
dsptrf.f:(.text+0xe9f): undefined reference todrot_' dsptrf.f:(.text+0x1023): undefined reference todrot_â
dsptrf.f:(.text+0x1057): undefined reference tolsame_' bin/ccx_2.19.a(dsptri.o): In functiondspmv_â:
dsptri.f:(.text+0x41): undefined reference tolsame_' dsptri.f:(.text+0x76): undefined reference toxerbla_â
dsptri.f:(.text+0xb3): undefined reference tolsame_' dsptri.f:(.text+0x16f): undefined reference tolsame_â
bin/ccx_2.19.a(dsptri.o): In functiondsptri_': dsptri.f:(.text+0x8f1): undefined reference tolsame_â
dsptri.f:(.text+0xe8a): undefined reference toxerbla_' dsptri.f:(.text+0x107f): undefined reference tolsame_â
collect2: error: ld returned 1 exit status
make: *** [Makefile:107: bin/ccx_preCICE] Error 1
It is noted that Calculix-2.15 adapter have been successfully complied, however, when trying to compile a newer version Calculix-2.19 adapter, some errors occurred and complete compile log file can be found here. Does anyone have ideas about it? Many thanks in advance.
- Cirrus
- Building with CMake (version: 3.17.3)
- GCC (version: 8.2.0)