CompPhysVienna / n2p2

n2p2 - A Neural Network Potential Package
https://compphysvienna.github.io/n2p2/
GNU General Public License v3.0
214 stars 81 forks source link

Can't build nnp-train: /bin/ld: ../../lib/libnnptrain.a(KalmanFilter.o): undefined reference to symbol 'dtrsm_' #169

Open LucyRoseE opened 2 years ago

LucyRoseE commented 2 years ago

Everything else has compiled correctly except nnp-train. The full error is below. mpic++ -O3 -march=native -std=c++17 -g -pedantic-errors -Wall -Wextra -I./ -I../../include/ -I./ -I/usr/local/include/eigen3 -DEIGEN_USE_BLAS -DEIGEN_DONT_PARALLELIZE -o nnp-train.o -c nnp-train.cpp mpic++ -O3 -march=native -std=c++17 -g -pedantic-errors -Wall -Wextra -DEIGEN_USE_BLAS -DEIGEN_DONT_PARALLELIZE -o nnp-train nnp-train.o ../../lib/libnnptrain.a ../../lib/libnnp.a -lgsl -L/nfs/aselab001/kgordiz/Lucy/NEMDtests/n2p2/src/BLAS-3.10.0 -lgsl -lgslcblas /bin/ld: ../../lib/libnnptrain.a(KalmanFilter.o): undefined reference to symbol 'dtrsm' //usr/lib64/atlas/libsatlas.so.3: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status make[1]: *** [nnp-train] Error 1 make[1]: Leaving directory `/nfs/aselab001/kgordiz/Lucy/NEMD_tests/n2p2/src/application'