[CP2K-user] [CP2K:13093] Re: ELPA compile error when install cp2k 7.1
Travis
polla... at gmail.com
Fri Apr 10 15:33:14 UTC 2020
Hi,
Create a file in the main ELPA directory called 'remove_xcompiler', open it
to edit, and add the code,
#!/usr/bin/env python
import sys
import os
args = [q for q in sys.argv[1:] if q != "-Xcompiler"]
os.execvp(args[0], args[0:])
Save and close.
https://gitlab.mpcdf.mpg.de/elpa/elpa/blob/master/remove_xcompiler
-T
On Friday, April 10, 2020 at 9:01:01 AM UTC-4, zhijian fu wrote:
>
> Hi, what does "the file "remove_xcompiler" is missing" mean? I created a
> "build" directory for installing, and the file "remove_xcompiler" is in the
> previous directory. where is the requested location?
>
> 在 2020年4月9日星期四 UTC+8下午5:58:54,Matthias Krack写道:
>>
>> Hi
>>
>>
>>
>> The error message is quite clear. The file “../remove_xcompiler” is
>> missing and that’s not a python issue. I encountered the same problem quite
>> a while ago. I looked for that file and copied it to the requested location
>> to please the installer. That worked.
>>
>>
>>
>> HTH
>>
>>
>>
>> Matthias
>>
>>
>>
>> *From:* c... at googlegroups.com <c... at googlegroups.com> *On Behalf Of *zhijian
>> fu
>> *Sent:* Donnerstag, 9. April 2020 08:12
>> *To:* cp2k <c... at googlegroups.com>
>> *Subject:* [CP2K:13093] Re: ELPA compile error when install cp2k 7.1
>>
>>
>>
>> Hi, I change to python2 to compile elpa 2019.05.001, but the error still
>> exists:
>>
>>
>>
>> Traceback (most recent call last):
>>
>> File "../remove_xcompiler", line 6, in <module>
>>
>> os.execvp(args[0], args[0:])
>>
>> File "/usr/lib64/python2.7/os.py", line 346, in execvp
>>
>> _execvpe(file, args)
>>
>> File "/usr/lib64/python2.7/os.py", line 370, in _execvpe
>>
>> func(file, *argrest)
>>
>> OSError: [Errno 2] No such file or directory
>>
>> make[1]: *** [Makefile:16610:src/libelpa_public_la-elpa_constants.lo]
>> error 1
>>
>> 在 2020年4月7日星期二 UTC+8下午4:12:54,Linfeng Gan写道:
>>
>> Hi,
>>
>> Try with python 2 again?
>>
>>
>> On Sunday, April 5, 2020 at 4:28:48 PM UTC+8, zhijian fu wrote:
>>
>> Hello, I want to install cp2k 7.1 using intel compiler, but when I
>> install ELPA library, there is an error,
>>
>> The compile setting:
>>
>> ../configure \
>>
>> --prefix="/home/sunlight/work2/cp2k/libs/libelpa/201911001" \
>>
>> --libdir="/home/sunlight/work2/cp2k/libs/libelpa/201911001/lib" \
>>
>> --enable-openmp=no \
>>
>> --enable-shared=no \
>>
>> --enable-static=yes \
>>
>> --enable-avx=yes \
>>
>> --enable-avx2=yes \
>>
>> --enable-avx512=yes \
>>
>> --enable-option-checking=fatal \
>>
>> FC=/opt/intel2020up1/compilers_and_libraries_2020.1.217/linux/mpi/intel64/bin/mpiifort
>> \
>>
>> CC=/opt/intel2020up1/compilers_and_libraries_2020.1.217/linux/mpi/intel64/bin/mpiicc
>> \
>>
>> CXX=/opt/intel2020up1/compilers_and_libraries_2020.1.217/linux/mpi/intel64/bin/mpiicpc
>> \
>>
>> FCFLAGS="-O3 -xAVX2" CFLAGS="-O3 -xAVX2" \
>>
>> SCALAPACK_LDFLAGS="-L/opt/intel2020up1/mkl/lib/intel64
>> -lmkl_scalapack_lp64 -lmkl_intel_lp64 -lmkl_sequential -lmkl_core
>> -lmkl_blacs_intelmpi_lp64 -lpthread " \
>>
>> SCALAPACK_FCFLAGS="-I/opt/intel2020up1/mkl/include/intel64/lp64" \
>>
>> >configure.log 2>&1
>>
>>
>>
>> The error is:
>>
>> Traceback (most recent call last):
>>
>> File "../remove_xcompiler", line 6, in <module>
>>
>> os.execvp(args[0], args[0:])
>>
>> File "/opt/intel2020up1/intelpython3/lib/python3.7/os.py", line 574, in
>> execvp
>>
>> _execvpe(file, args)
>>
>> File "/opt/intel2020up1/intelpython3/lib/python3.7/os.py", line 597, in
>> _execvpe
>>
>> exec_func(file, *argrest)
>>
>> FileNotFoundError: [Errno 2] No such file or directory
>>
>>
>>
>> Could you give me some advice?
>>
>> Thank you!
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "cp2k" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to c... at googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/cp2k/6f1781ca-2bc4-486b-9d8f-797afb0580df%40googlegroups.com
>> <https://groups.google.com/d/msgid/cp2k/6f1781ca-2bc4-486b-9d8f-797afb0580df%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20200410/4cac3a72/attachment.htm>
More information about the CP2K-user
mailing list