Dear Dr. McCaskey (CC Dr. Humble)
As Dr. Humble mentioned in email, I have some trouble to XACC installation at NERSC.
So I need your help to complete installation.
Could you help me to solve the error, please?
Here is my summary of error-report and relating issues.
After the command,
$ cmake .. -DCMAKE_INSTALL_PREFIX=~/script/xacc_build/
I had following error message when I did
$ make install
+++my error message++++
-- Configuring incomplete, errors occurred!
See also "/global/homes/y/yuma/download/xacc/build/cpprestsdk-prefix/src/cpprestsdk-build/CMakeFiles/CMakeOutput.log".
CMakeFiles/cpprestsdk.dir/build.make:106: recipe for target 'cpprestsdk-prefix/src/cpprestsdk-stamp/cpprestsdk-configure' failed
make[2]: *** [cpprestsdk-prefix/src/cpprestsdk-stamp/cpprestsdk-configure] Error 1
CMakeFiles/Makefile2:174: recipe for target 'CMakeFiles/cpprestsdk.dir/all' failed
make[1]: *** [CMakeFiles/cpprestsdk.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
+++my error message++++
According to this instruction,
Note that you must have a C++11 compliant compiler. For GCC, this means version 4.8.1+, for Clang, this means 3.3+. These dependencies are relatively easy to install on various operating systems.
|
I suspect that the error comes from either of C++11 compliant compiler or root access to write to /usr/local/xacc.
For C+11 compiler issue, I tried
$ module load gcc
according to instruction of building C++11 codes on NERSC.
The Intel compiler suite is available on Cori and Edison.
|
(This gcc is 7.1.0 so I’m still wondering if it really works in C++11.)
I attached following files
build/cpprestsdk-prefix/src/cpprestsdk-build/CMakeFiles/CMakeOutput.log
build/CMakeFiles/cpprestsdk.dir/build.make
build/CMakeFiles/CMakeOutput.log
I hope that these are enough to describe my error.
If you need more information regarding my error, please let me know.
Thank you for your kind support.
Best regards,
Yuma