[QE-users] Error when make epw with nvhpc compiler

Paolo Giannozzi paolo.giannozzi at uniud.it
Thu Jun 1 14:28:55 CEST 2023


Look into EPW/src/low_lvl.f90: there is a preprocessed line
     INTEGER, EXTERNAL :: getpid
Not sure why it is not correctly preprocessed, but in any event, you can 
just move it out of the #if defined .... #endif section

Paolo

On 6/1/23 12:17, Siwakorn Sukharom wrote:
> I got this error when I want to make epw ( I have done make all 
> successfully)
> 
> I used nvhpc/22.7 for compilation
> here is the make.inc
> 
> https://drive.google.com/file/d/1OaGkzOJnW11neChoHwLpUanEdYhJNPvt/view?usp=sharing <https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdrive.google.com%2Ffile%2Fd%2F1OaGkzOJnW11neChoHwLpUanEdYhJNPvt%2Fview%3Fusp%3Dsharing&data=05%7C01%7Cpaolo.giannozzi%40uniud.it%7Cf550edb7f01e4129fe6508db6289775b%7C6e6ade15296c4224ac581c8ec2fd53a8%7C0%7C0%7C638212114780554217%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=6rLln6Rg5nmkwRUSXPhd4h3QfTBmR296Qj8U16T1%2FAE%3D&reserved=0>
> 
> NVFORTRAN-W-0921-Redefinition of symbol _OPENACC (low_lvl_tmp.f90: -1)
> NVFORTRAN-S-0038-Symbol, getpid, has not been explicitly declared 
> (low_lvl_tmp.f90)
>    0 inform,   0 warnings,   1 severes, 0 fatal for system_mem_usage
> make[2]: *** [../../make.inc:16: low_lvl.o] Error 2
> make[2]: Leaving directory 
> '/lustrefs/disk/project/thaisc/siwakorn/QE/install/qe-7.2_gpu/EPW/src'
> make[1]: *** [Makefile:7: epw] Error 2
> make[1]: Leaving directory 
> '/lustrefs/disk/project/thaisc/siwakorn/QE/install/qe-7.2_gpu/EPW'
> make: *** [Makefile:129: epw] Error 1
> 
> 
> 
> ------------------------------------------------------------------------
> 
> Disclaimer:
> 
> This e-mail and any files transmitted with it may contain confidential 
> and proprietary information of the National Science and Technology 
> Development Agency (NSTDA), Thailand. They are intended solely for the 
> use of the addressed individuals or entities. If you are not the 
> intended recipient, you are required to immediately delete this e-mail 
> and its contents from your system. Any disclosure, distribution, or 
> action based upon the contents of this e-mail is strictly prohibited. 
> Any views or opinions presented in this e-mail are solely those of the 
> sender and do not necessarily represent those of NSTDA. NSTDA does not 
> accept any responsibility for the content of this message or the 
> consequences of any actions taken on the basis of the information 
> provided. NSTDA accepts no liability for any damage caused by any virus 
> or malware which may be inserted in this e-mail during transmission.
> 
> _______________________________________________
> The Quantum ESPRESSO community stands by the Ukrainian
> people and expresses its concerns about the devastating
> effects that the Russian military offensive has on their
> country and on the free and peaceful scientific, cultural,
> and economic cooperation amongst peoples
> _______________________________________________
> Quantum ESPRESSO is supported by MaX (www.max-centre.eu)
> users mailing list users at lists.quantum-espresso.org
> https://lists.quantum-espresso.org/mailman/listinfo/users

-- 
Paolo Giannozzi, Dip. Scienze Matematiche Informatiche e Fisiche,
Univ. Udine, via delle Scienze 208, 33100 Udine, Italy
Phone +39-0432-558216, fax +39-0432-558222


More information about the users mailing list