-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with compiling on NERSC #623
Comments
Hard to say what’s going on here. Could you please be more explicit and send us the full error message?
Your best way of getting information is likely
export VERBOSE=1
Followed by make.
Then tell us what actually fails, and with which compiler and which environment.
Best,
Emanuel
… On Sep 21, 2020, at 4:12 PM, anhph ***@***.***> wrote:
Hi,
I receive this error when compiling on NERSC Cori:
compilation aborted for ALPSCore/gf/test/fourier_test.cpp (code 2)
make[2]: *** [gf/test/CMakeFiles/fourier_test.dir/build.make:63: gf/test/CMakeFiles/fourier_test.dir/fourier_test.cpp.o] Error 2
make[1]: *** [CMakeFiles/Makefile2:5722: gf/test/CMakeFiles/fourier_test.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
Any help would be appreciated
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub <#623>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ABW32RLMUXI3GYR5PPWXEFLSG6XR5ANCNFSM4RU6HPYQ>.
|
Here is my make VERBOSE=1. This is where the error occurs [ 81%] Building CXX object gf/test/CMakeFiles/fourier_test.dir/fourier_test.cpp.o |
what is your cmake flags and so on? Currently Loaded Modulefiles:
1) modules/3.2.11.4 8) udreg/2.3.2-7.0.1.1_3.36__g8175d3d.ari 15) dvs/2.12_2.2.157-7.0.1.1_9.4__g083131db 22) craype-hugepages2M
2) altd/2.0 9) ugni/6.0.14.0-7.0.1.1_7.38__ge78e5b0.ari 16) alps/6.6.58-7.0.1.1_6.8__g437d88db.ari 23) cray-hdf5/1.10.5.2
3) darshan/3.1.7 10) pmi/5.0.14 17) rca/2.2.20-7.0.1.1_4.51__g8e3fb5b.ari 24) cmake/3.14.4
4) intel/19.0.3.199 11) dmapp/7.1.1-7.0.1.1_4.52__g38cf134.ari 18) atp/2.1.3 25) cray-fftw/3.3.8.4
5) craype-network-aries 12) gni-headers/5.0.12.0-7.0.1.1_6.31__g3b1768f.ari 19) PrgEnv-intel/6.0.5 26) python3/3.7-anaconda-2019.10
6) craype/2.6.2 13) xpmem/2.2.20-7.0.1.1_4.13__g0475745.ari 20) craype-haswell
7) cray-libsci/19.06.1 14) job/2.2.4-7.0.1.1_3.40__g36b56f4.ari 21) cray-mpich/7.7.10 There is one failed test, but this is known problem on intel compilers:
|
Here are my modules
Here is my Cmake: cmake .. -DEIGEN3_INCLUDE_DIR=/global/homes/a/axp561/.conda/envs/eigen/include/eigen3 -DCMAKE_INSTALL_PREFIX=/global/homes/a/axp561/ALPSCore_install -DBOOST_ROOT=/usr/common/software/boost/1.70.0/intel/haswell -DCMAKE_CXX_STANDARD=14 But I get a lot of errors, all related to mpi
Do I need to explicitly set the CC compiler directory for this ? |
Judging by the fact that compilation itself succeeds and only the MPI tests fail, it seems to be the same issue as #211 (feature request #296), addressed by (not yet merged) PR #613 . I believe PR #613 does not affect the business logic (it changes only CMake scripts), so it could be safely merged. @anhph You could try to apply that PR to your local repository and see if it works for you; the PR description shows how to use the new features on Cori. |
@anhph to run MPI tests on Cori you need to run interactive job, any attempt to call |
Hi,
I receive this error when compiling on NERSC Cori:
compilation aborted for ALPSCore/gf/test/fourier_test.cpp (code 2)
make[2]: *** [gf/test/CMakeFiles/fourier_test.dir/build.make:63: gf/test/CMakeFiles/fourier_test.dir/fourier_test.cpp.o] Error 2
make[1]: *** [CMakeFiles/Makefile2:5722: gf/test/CMakeFiles/fourier_test.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
Any help would be appreciated
The text was updated successfully, but these errors were encountered: