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 to
dsaupd_â
arpack.c:(.text+0x1889): undefined reference todsaupd_' arpack.c:(.text+0x199c): undefined reference to
dseupd_â
arpack.c:(.text+0x3b3b): undefined reference todnaupd_' arpack.c:(.text+0x53ce): undefined reference to
dnaupd_â
arpack.c:(.text+0x5519): undefined reference todneupd_' bin/ccx_2.19.a(arpackbu.o): In function
arpackbuâ:
arpackbu.c:(.text+0x1b85): undefined reference todsaupd_' arpackbu.c:(.text+0x1c95): undefined reference to
dsaupd_â
arpackbu.c:(.text+0x2743): undefined reference todseupd_' bin/ccx_2.19.a(arpackcs.o): In function
arpackcsâ:
arpackcs.c:(.text+0x1be3): undefined reference todsaupd_' arpackcs.c:(.text+0x1d1b): undefined reference to
dsaupd_â
arpackcs.c:(.text+0x1edb): undefined reference todnaupd_' arpackcs.c:(.text+0x2848): undefined reference to
dnaupd_â
arpackcs.c:(.text+0xbe91): undefined reference todseupd_' arpackcs.c:(.text+0xf236): undefined reference to
dneupd_â
bin/ccx_2.19.a(spooles.o): In functionfactor': spooles.c:(.text+0x3c): undefined reference to
DVfillâ
spooles.c:(.text+0x4d): undefined reference toGraph_new' spooles.c:(.text+0x58): undefined reference to
InpMtx_fullAdjacencyâ
spooles.c:(.text+0x64): undefined reference toIVL_tsize' spooles.c:(.text+0x84): undefined reference to
Graph_init2â
spooles.c:(.text+0xaf): undefined reference toorderViaBestOfNDandMS' spooles.c:(.text+0xc1): undefined reference to
ETree_oldToNewVtxPermâ
spooles.c:(.text+0xcd): undefined reference toIV_entries' spooles.c:(.text+0xda): undefined reference to
ETree_newToOldVtxPermâ
spooles.c:(.text+0xea): undefined reference toETree_permuteVertices' spooles.c:(.text+0xfd): undefined reference to
InpMtx_permuteâ
spooles.c:(.text+0x10d): undefined reference toInpMtx_mapToUpperTriangle' spooles.c:(.text+0x11a): undefined reference to
InpMtx_changeCoordTypeâ
spooles.c:(.text+0x127): undefined reference toInpMtx_changeStorageMode' spooles.c:(.text+0x132): undefined reference to
SymbFac_initFromInpMtxâ
spooles.c:(.text+0x13a): undefined reference toFrontMtx_new' spooles.c:(.text+0x143): undefined reference to
SubMtxManager_newâ
spooles.c:(.text+0x156): undefined reference toSubMtxManager_init' spooles.c:(.text+0x18e): undefined reference to
FrontMtx_initâ
spooles.c:(.text+0x197): undefined reference toChvManager_new' spooles.c:(.text+0x1a9): undefined reference to
ChvManager_initâ
spooles.c:(.text+0x1ba): undefined reference toIVfill' spooles.c:(.text+0x1ea): undefined reference to
FrontMtx_factorInpMtxâ
spooles.c:(.text+0x1f5): undefined reference toChvManager_free' spooles.c:(.text+0x219): undefined reference to
FrontMtx_postProcessâ
spooles.c:(.text+0x221): undefined reference toIVL_free' spooles.c:(.text+0x229): undefined reference to
InpMtx_freeâ
spooles.c:(.text+0x231): undefined reference toGraph_free' bin/ccx_2.19.a(spooles.o): In function
fsolveâ:
spooles.c:(.text+0x292): undefined reference toDenseMtx_permuteRows' spooles.c:(.text+0x297): undefined reference to
DenseMtx_newâ
spooles.c:(.text+0x2b8): undefined reference toDenseMtx_init' spooles.c:(.text+0x2c0): undefined reference to
DenseMtx_zeroâ
spooles.c:(.text+0x2e4): undefined reference toFrontMtx_solve' spooles.c:(.text+0x2f0): undefined reference to
DenseMtx_permuteRowsâ
spooles.c:(.text+0x2f8): undefined reference toDenseMtx_free' bin/ccx_2.19.a(spooles.o): In function
factor_MTâ:
spooles.c:(.text+0x34f): undefined reference toDVfill' spooles.c:(.text+0x354): undefined reference to
Graph_newâ
spooles.c:(.text+0x361): undefined reference toInpMtx_fullAdjacency' spooles.c:(.text+0x36c): undefined reference to
IVL_tsizeâ
spooles.c:(.text+0x38d): undefined reference toGraph_init2' spooles.c:(.text+0x3b3): undefined reference to
orderViaBestOfNDandMSâ
spooles.c:(.text+0x3c5): undefined reference toETree_oldToNewVtxPerm' spooles.c:(.text+0x3d1): undefined reference to
IV_entriesâ
spooles.c:(.text+0x3dc): undefined reference toETree_newToOldVtxPerm' spooles.c:(.text+0x3ec): undefined reference to
ETree_permuteVerticesâ
spooles.c:(.text+0x3fa): undefined reference toInpMtx_permute' spooles.c:(.text+0x40a): undefined reference to
InpMtx_mapToUpperTriangleâ
spooles.c:(.text+0x417): undefined reference toInpMtx_changeCoordType' spooles.c:(.text+0x424): undefined reference to
InpMtx_changeStorageModeâ
spooles.c:(.text+0x42f): undefined reference toSymbFac_initFromInpMtx' spooles.c:(.text+0x43f): undefined reference to
ETree_nfrontâ
spooles.c:(.text+0x456): undefined reference toDV_new' spooles.c:(.text+0x46a): undefined reference to
DV_initâ
spooles.c:(.text+0x4a2): undefined reference toETree_ddMap' spooles.c:(.text+0x4c3): undefined reference to
DV_freeâ
spooles.c:(.text+0x4c8): undefined reference toFrontMtx_new' spooles.c:(.text+0x4d1): undefined reference to
SubMtxManager_newâ
spooles.c:(.text+0x4e7): undefined reference toSubMtxManager_init' spooles.c:(.text+0x524): undefined reference to
FrontMtx_initâ
spooles.c:(.text+0x52d): undefined reference toChvManager_new' spooles.c:(.text+0x547): undefined reference to
ChvManager_initâ
spooles.c:(.text+0x556): undefined reference toIVfill' spooles.c:(.text+0x58b): undefined reference to
FrontMtx_MT_factorInpMtxâ
spooles.c:(.text+0x59a): undefined reference toChvManager_free' spooles.c:(.text+0x5c4): undefined reference to
FrontMtx_postProcessâ
spooles.c:(.text+0x5c9): undefined reference toSolveMap_new' spooles.c:(.text+0x5dd): undefined reference to
FrontMtx_frontTreeâ
spooles.c:(.text+0x5f5): undefined reference toFrontMtx_lowerBlockIVL' spooles.c:(.text+0x603): undefined reference to
FrontMtx_upperBlockIVLâ
spooles.c:(.text+0x62a): undefined reference toSolveMap_ddMap' spooles.c:(.text+0x636): undefined reference to
InpMtx_freeâ
spooles.c:(.text+0x63f): undefined reference toIVL_free' spooles.c:(.text+0x649): undefined reference to
Graph_freeâ
spooles.c:(.text+0x651): undefined reference toIV_free' bin/ccx_2.19.a(spooles.o): In function
fsolve_MTâ:
spooles.c:(.text+0x6c2): undefined reference toDenseMtx_permuteRows' spooles.c:(.text+0x6c7): undefined reference to
DenseMtx_newâ
spooles.c:(.text+0x6e8): undefined reference toDenseMtx_init' spooles.c:(.text+0x6f0): undefined reference to
DenseMtx_zeroâ
spooles.c:(.text+0x716): undefined reference toFrontMtx_MT_solve' spooles.c:(.text+0x726): undefined reference to
DenseMtx_permuteRowsâ
spooles.c:(.text+0x72e): undefined reference toDenseMtx_free' bin/ccx_2.19.a(spooles.o): In function
spooles_factorâ:
spooles.c:(.text+0x7bb): undefined reference toInpMtx_new' spooles.c:(.text+0x82b): undefined reference to
InpMtx_initâ
spooles.c:(.text+0x8a0): undefined reference toInpMtx_inputRealEntry' spooles.c:(.text+0x8d1): undefined reference to
InpMtx_inputRealEntryâ
spooles.c:(.text+0x931): undefined reference toInpMtx_changeStorageMode' spooles.c:(.text+0x9da): undefined reference to
InpMtx_inputRealEntryâ
spooles.c:(.text+0xa2f): undefined reference toInpMtx_inputRealEntry' spooles.c:(.text+0xc1e): undefined reference to
InpMtx_inputRealEntryâ
spooles.c:(.text+0xc57): undefined reference toInpMtx_inputRealEntry' spooles.c:(.text+0xc7d): undefined reference to
InpMtx_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 function
spooles_solveâ:
spooles.c:(.text+0x130f): undefined reference toDenseMtx_new' spooles.c:(.text+0x1330): undefined reference to
DenseMtx_initâ
spooles.c:(.text+0x1338): undefined reference toDenseMtx_zero' spooles.c:(.text+0x1361): undefined reference to
DenseMtx_setRealEntryâ
spooles.c:(.text+0x13a4): undefined reference toDenseMtx_entries' spooles.c:(.text+0x13db): undefined reference to
DenseMtx_permuteRowsâ
spooles.c:(.text+0x13e0): undefined reference toDenseMtx_new' spooles.c:(.text+0x1405): undefined reference to
DenseMtx_initâ
spooles.c:(.text+0x140d): undefined reference toDenseMtx_zero' spooles.c:(.text+0x1436): undefined reference to
FrontMtx_solveâ
spooles.c:(.text+0x1445): undefined reference toDenseMtx_permuteRows' spooles.c:(.text+0x144d): undefined reference to
DenseMtx_freeâ
bin/ccx_2.19.a(spooles.o): In functionspooles_cleanup': spooles.c:(.text+0x146c): undefined reference to
FrontMtx_freeâ
spooles.c:(.text+0x1478): undefined reference toIV_free' spooles.c:(.text+0x1484): undefined reference to
IV_freeâ
spooles.c:(.text+0x1490): undefined reference toSubMtxManager_free' spooles.c:(.text+0x14a1): undefined reference to
SolveMap_freeâ
spooles.c:(.text+0x14ad): undefined reference toETree_free' bin/ccx_2.19.a(spooles.o): In function
spooles_factor_radâ:
spooles.c:(.text+0x1544): undefined reference toInpMtx_new' spooles.c:(.text+0x15b3): undefined reference to
InpMtx_initâ
spooles.c:(.text+0x1628): undefined reference toInpMtx_inputRealEntry' spooles.c:(.text+0x1659): undefined reference to
InpMtx_inputRealEntryâ
spooles.c:(.text+0x16b9): undefined reference toInpMtx_changeStorageMode' spooles.c:(.text+0x175a): undefined reference to
InpMtx_inputRealEntryâ
spooles.c:(.text+0x17af): undefined reference toInpMtx_inputRealEntry' spooles.c:(.text+0x1966): undefined reference to
InpMtx_inputRealEntryâ
spooles.c:(.text+0x1997): undefined reference toInpMtx_inputRealEntry' spooles.c:(.text+0x19bd): undefined reference to
InpMtx_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 function
spooles_solve_radâ:
spooles.c:(.text+0x2059): undefined reference toDenseMtx_new' spooles.c:(.text+0x207a): undefined reference to
DenseMtx_initâ
spooles.c:(.text+0x2082): undefined reference toDenseMtx_zero' spooles.c:(.text+0x20a9): undefined reference to
DenseMtx_setRealEntryâ
spooles.c:(.text+0x20fc): undefined reference toDenseMtx_entries' spooles.c:(.text+0x2133): undefined reference to
DenseMtx_permuteRowsâ
spooles.c:(.text+0x2138): undefined reference toDenseMtx_new' spooles.c:(.text+0x215d): undefined reference to
DenseMtx_initâ
spooles.c:(.text+0x2165): undefined reference toDenseMtx_zero' spooles.c:(.text+0x218e): undefined reference to
FrontMtx_solveâ
spooles.c:(.text+0x219d): undefined reference toDenseMtx_permuteRows' spooles.c:(.text+0x21a5): undefined reference to
DenseMtx_freeâ
bin/ccx_2.19.a(spooles.o): In functionspooles_cleanup_rad': spooles.c:(.text+0x21bc): undefined reference to
FrontMtx_freeâ
spooles.c:(.text+0x21c8): undefined reference toIV_free' spooles.c:(.text+0x21d4): undefined reference to
IV_freeâ
spooles.c:(.text+0x21e0): undefined reference toSubMtxManager_free' spooles.c:(.text+0x21f1): undefined reference to
SolveMap_freeâ
spooles.c:(.text+0x21fd): undefined reference toETree_free' bin/ccx_2.19.a(spooles.o): In function
spoolesâ:
spooles.c:(.text+0x2293): undefined reference toFrontMtx_free' spooles.c:(.text+0x229f): undefined reference to
IV_freeâ
spooles.c:(.text+0x22ab): undefined reference toIV_free' spooles.c:(.text+0x22b7): undefined reference to
SubMtxManager_freeâ
spooles.c:(.text+0x22c8): undefined reference toSolveMap_free' spooles.c:(.text+0x22d4): undefined reference to
ETree_freeâ
bin/ccx_2.19.a(spooles.o): In functionspooles_solve': spooles.c:(.text+0x13c8): undefined reference to
DenseMtx_freeâ
bin/ccx_2.19.a(spooles.o): In functionspooles_solve_rad': spooles.c:(.text+0x2120): undefined reference to
DenseMtx_freeâ
bin/ccx_2.19.a(dgesv.o): In functiondtrsm_': dgesv.f:(.text+0x2ce): undefined reference to
lsame_â
dgesv.f:(.text+0x305): undefined reference tolsame_' dgesv.f:(.text+0x322): undefined reference to
lsame_â
dgesv.f:(.text+0x35f): undefined reference tolsame_' dgesv.f:(.text+0x389): undefined reference to
xerbla_â
dgesv.f:(.text+0x3c2): undefined reference tolsame_' dgesv.f:(.text+0x3e5): undefined reference to
lsame_â
dgesv.f:(.text+0x416): undefined reference tolsame_' dgesv.f:(.text+0x4a0): undefined reference to
lsame_â
dgesv.f:(.text+0x4bd): undefined reference tolsame_' bin/ccx_2.19.a(dgesv.o):dgesv.f:(.text+0x4e2): more undefined references to
lsame_â follow
bin/ccx_2.19.a(dgesv.o): In functiondgetrs_': dgesv.f:(.text+0x1df1): undefined reference to
xerbla_â
dgesv.f:(.text+0x1e31): undefined reference tolsame_' dgesv.f:(.text+0x1e55): undefined reference to
lsame_â
bin/ccx_2.19.a(dgesv.o): In functiondgemm_': dgesv.f:(.text+0x20c2): undefined reference to
lsame_â
dgesv.f:(.text+0x20e2): undefined reference tolsame_' dgesv.f:(.text+0x2141): undefined reference to
xerbla_â
dgesv.f:(.text+0x21a6): undefined reference tolsame_' dgesv.f:(.text+0x21db): undefined reference to
lsame_â
dgesv.f:(.text+0x222b): undefined reference tolsame_' dgesv.f:(.text+0x22d4): undefined reference to
lsame_â
dgesv.f:(.text+0x2309): undefined reference tolsame_' bin/ccx_2.19.a(dgesv.o):dgesv.f:(.text+0x239e): more undefined references to
lsame_â follow
bin/ccx_2.19.a(dgesv.o): In functiondger_': dgesv.f:(.text+0x2df2): undefined reference to
xerbla_â
bin/ccx_2.19.a(dgesv.o): In functiondgetf2_': dgesv.f:(.text+0x3514): undefined reference to
xerbla_â
dgesv.f:(.text+0x380d): undefined reference toxerbla_' bin/ccx_2.19.a(dgesv.o): In function
dgetrf_â:
dgesv.f:(.text+0x44e6): undefined reference toxerbla_' bin/ccx_2.19.a(dgesv.o): In function
dgesv_â:
dgesv.f:(.text+0x4b51): undefined reference toxerbla_' bin/ccx_2.19.a(randomfieldmain.o): In function
randomfieldmainâ:
randomfieldmain.c:(.text+0xac0): undefined reference todsaupd_' randomfieldmain.c:(.text+0xc3a): undefined reference to
dsaupd_â
randomfieldmain.c:(.text+0xd84): undefined reference todseupd_' randomfieldmain.c:(.text+0x1b8a): undefined reference to
dsaupd_â
bin/ccx_2.19.a(auglag_inclusion.o): In functionauglag_inclusion_': auglag_inclusion.f:(.text+0x126): undefined reference to
dsymv_â
bin/ccx_2.19.a(dsptrf.o): In functiondspr_': dsptrf.f:(.text+0x3c): undefined reference to
lsame_â
dsptrf.f:(.text+0x70): undefined reference toxerbla_' dsptrf.f:(.text+0xe9): undefined reference to
lsame_â
dsptrf.f:(.text+0x223): undefined reference tolsame_' bin/ccx_2.19.a(dsptrf.o): In function
dsptrf_â:
dsptrf.f:(.text+0x5c5): undefined reference tolsame_' dsptrf.f:(.text+0x847): undefined reference to
xerbla_â
dsptrf.f:(.text+0xc08): undefined reference todlaev2_' dsptrf.f:(.text+0xc6e): undefined reference to
drot_â
dsptrf.f:(.text+0xd9b): undefined reference todrot_' dsptrf.f:(.text+0xe21): undefined reference to
dlaev2_â
dsptrf.f:(.text+0xe9f): undefined reference todrot_' dsptrf.f:(.text+0x1023): undefined reference to
drot_â
dsptrf.f:(.text+0x1057): undefined reference tolsame_' bin/ccx_2.19.a(dsptri.o): In function
dspmv_â:
dsptri.f:(.text+0x41): undefined reference tolsame_' dsptri.f:(.text+0x76): undefined reference to
xerbla_â
dsptri.f:(.text+0xb3): undefined reference tolsame_' dsptri.f:(.text+0x16f): undefined reference to
lsame_â
bin/ccx_2.19.a(dsptri.o): In functiondsptri_': dsptri.f:(.text+0x8f1): undefined reference to
lsame_â
dsptri.f:(.text+0xe8a): undefined reference toxerbla_' dsptri.f:(.text+0x107f): undefined reference to
lsame_â
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)