vasp build for gpu gets bad path in ORIGIN

Questions regarding the compilation of VASP on various platforms: hardware, compilers and libraries, etc.


Moderators: Global Moderator, Moderator

Post Reply
Message
Author
stephen_wheat
Newbie
Newbie
Posts: 5
Joined: Thu Feb 27, 2025 7:51 pm

vasp build for gpu gets bad path in ORIGIN

#1 Post by stephen_wheat » Wed Jun 25, 2025 4:26 pm

I use a previously built module of NVHPC; easybuild version NVHPC-25.3-CUDA-12.8.0.eb.
I use a slightly modified version of makefile.include.nvhpc_ompi_mkl_omp; the changes are WRT NVROOT setting, where I set that in the module load of NVHPC. I got that idea from another post having troubles building for GPU.

NVROOT=/opt/software/NVHPC/25.3-CUDA-12.8.0/Linux_x86_64/25.3

Every thing builds fine, except that when I run vasp_std --version, I get the following error message:

Code: Select all

[easybuild@ebicelake vasp.6.4.2]$ bin/vasp_std --version
[ebicelake:486169] [[INVALID],INVALID] ORTE_ERROR_LOG: A system-required executable either could not be found or was not executable by this user in file ../../../../../orte/mca/ess/singleton/ess_singleton_module.c at line 572
[ebicelake:486169] [[INVALID],INVALID] ORTE_ERROR_LOG: A system-required executable either could not be found or was not executable by this user in file ../../../../../orte/mca/ess/singleton/ess_singleton_module.c at line 172
--------------------------------------------------------------------------
Sorry!  You were supposed to get help about:
    orte_init:startup:internal-failure
But I couldn't open the help file:
    /proj/nv/libraries/Linux_x86_64/25.3/openmpi4-12/270869-rel-3/comm_libs/12.6/openmpi4/openmpi-4.1.5/share/openmpi/help-orte-runtime: No such file or directory.  Sorry!
--------------------------------------------------------------------------
--------------------------------------------------------------------------
Sorry!  You were supposed to get help about:
    mpi_init:startup:internal-failure
But I couldn't open the help file:
    /proj/nv/libraries/Linux_x86_64/25.3/openmpi4-12/270869-rel-3/comm_libs/12.6/openmpi4/openmpi-4.1.5/share/openmpi/help-mpi-runtime.txt: No such file or directory.  Sorry!
--------------------------------------------------------------------------

/proj is not of my doing.

A "strings bin/vasp_std | grep \/proj" command yields:
$ORIGIN:$ORIGIN/../../lib:$ORIGIN/../../../../../compilers/lib:$ORIGIN/../../../../../../compilers/lib:/opt/software/NVHPC/25.3-CUDA-12.8.0/Linux_x86_64/25.3/comm_libs/12.8/openmpi4/openmpi-4.1.5/lib:/proj/nv/libraries/Linux_x86_64/25.3/openmpi4-12/270869-rel-3/comm_libs/12.6/openmpi4/openmpi-4.1.5/lib:/opt/intel/oneapi/mkl/2022.2.0/lib/intel64:/opt/software/NVHPC/25.3-CUDA-12.8.0/Linux_x86_64/25.3/compilers/lib:/opt/software/GCCcore/14.2.0/lib64

There is no help-orte-runtime file in the NVHPC directory tree. But the other file is found here.
The correct path to help-mpi-runtime.txt is: /opt/software/NVHPC/25.3-CUDA-12.8.0/Linux_x86_64/25.3/comm_libs/12.8/openmpi4/openmpi-4.1.5/share/openmpi/help-mpi-runtime.txt

What are the missing executables and how do I configure the build to correctly capture them?

You do not have the required permissions to view the files attached to this post.

merzuk.kaltak
Administrator
Administrator
Posts: 315
Joined: Mon Sep 24, 2018 9:39 am

Re: vasp build for gpu gets bad path in ORIGIN

#2 Post by merzuk.kaltak » Thu Jun 26, 2025 12:27 pm

Dear Stephen Wheat,

this seems to be related to OpenMPI and the way you run the executable.

I suggest running VASP with mpirun like so:

Code: Select all

mpirun -np 1 /path/to/vasp --version

Note NVHPC-25.3 is not a validated toolchain for vasp 6.4.2.
Please use compilers and libraries from our list of validated toolchains.


Post Reply