Questions regarding the compilation of VASP on various platforms: hardware, compilers and libraries, etc.
Moderators: Global Moderator, Moderator
-
thibautvery
- Newbie
- Posts: 6
- Joined: Fri Mar 24, 2017 4:02 pm
#1
Post
by thibautvery » Tue Dec 15, 2020 4:05 pm
Hello,
I am trying to install the OpenACC port of VASP on our cluster with:
- nvidiahpc@20.7 (PGI)
- openmpi@4.0.2
- qd@2.3.13
- nccl@2.7.8-1 compiled with gcc@8.3.1
I have the following error:
Code: Select all
NVFORTRAN-S-1000-Call in OpenACC region to procedure 'errf' which has no acc routine information (xclib.f90: 1242)
NVFORTRAN-S-0155-Compiler failed to translate accelerator region (see -Minfo messages): Missing branch target block (xclib.f90: 1)
NVFORTRAN-F-0704-Compilation aborted due to previous errors. (xclib.f90)
NVFORTRAN/x86-64 Linux 20.7-0: compilation aborted
Do you have an idea on how to correct this?
The makefile.include and the compilation log file are attached
You do not have the required permissions to view the files attached to this post.
-
mmarsman
- Global Moderator
- Posts: 12
- Joined: Wed Nov 06, 2019 8:44 am
#2
Post
by mmarsman » Wed Dec 16, 2020 12:24 pm
Hi,
I will have a look!
Could you pls. upload the preprocessed file (xclib.f90)?
Cheers,
Martijn Marsman
-
thibautvery
- Newbie
- Posts: 6
- Joined: Fri Mar 24, 2017 4:02 pm
#3
Post
by thibautvery » Wed Dec 16, 2020 2:06 pm
Sure here it is.
I had to gzip it so that I can post it.
You do not have the required permissions to view the files attached to this post.
-
mmarsman
- Global Moderator
- Posts: 12
- Joined: Wed Nov 06, 2019 8:44 am
#4
Post
by mmarsman » Wed Dec 16, 2020 5:51 pm
It seems this file was not preprocessed with -D_OPENACC ...
I know you have set this in your makefile.include file so the problem must lie somewhere else.
Do you use some build system other than a simple "make"?
-
thibautvery
- Newbie
- Posts: 6
- Joined: Fri Mar 24, 2017 4:02 pm
#5
Post
by thibautvery » Thu Dec 17, 2020 8:33 am
Installation is done using Spack.
But it uses make.
I had to make some modifications in the recipe to support nvidia compilers. Maybe I made some mistake.
I will try to investigate that.
-
thibautvery
- Newbie
- Posts: 6
- Joined: Fri Mar 24, 2017 4:02 pm
#6
Post
by thibautvery » Thu Dec 17, 2020 9:53 am
My bad, Spack recipe was setting the environment variable CPP_OPTIONS to something that did not contains -D_OPENACC.
Sorry for that ...