CompPhysVienna / n2p2

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

libnnptrain installation error #99

Closed vsumaria closed 3 years ago

vsumaria commented 3 years ago

I am trying to compile n2p2 and facing an issue. I get the following error (after make all command)

cp GradientDescent.h KalmanFilter.h Updater.h Dataset.h Training.h ../../include mpic++ -O3 -march=native -std=c++11 -Wno-long-long -g -pedantic-errors -Wall -Wextra -I./ -I../../include/ -I/jet/home/vsumaria/software/gsl/include -I/jet/home/vsumaria/software/anaconda3/pkgs/eigen3-3.3.7-0/include/eigen3 -DEIGEN_USE_BLAS -DEIGEN_DONT_PARALLELIZE -o KalmanFilter.o -c KalmanFilter.cpp nvc++-Error-Unknown switch: -pedantic-errors make[1]: [makefile:83: KalmanFilter.o] Error 1 make[1]: Leaving directory '/jet/home/vsumaria/software/n2p2/src/libnnptrain' make: [makefile:126: libnnptrain] Error 2

I changed the path to GSL and EIGEN in makefile.gnu and have openmpi and openblas loaded too. Can seem to understand what the error is.