Tried to compile this project with the PGI compilers. This didn't work, in case it is helpful I will share my workflow for the setup and test to reproduce the compiler errors.
NVHPC 20.7:
Install with
wget https://developer.download.nvidia.com/hpc-sdk/nvhpc_2020_207_Linux_x86_64_cuda_11.0.tar.gz
tar xpzf nvhpc_2020_207_Linux_x86_64_cuda_11.0.tar.gz
NVHPC_SILENT=true NVHPC_INSTALL_DIR=/opt/nvidia/hpc_sdk NVHPC_INSTALL_TYPE=single sudo nvhpc_2020_207_Linux_x86_64_cuda_11.0/install
Load the PGI compilers with
module use /opt/nvidia/hpc_sdk/modulefiles
module load nvhpc
Adjust compiler from gfortran to nvfortran
make -C src
NVFORTRAN-S-0000-Internal compiler error. size_of: attempt to get size of assumed size character 0 (M_CLI2.f90: 2012)
0 inform, 0 warnings, 1 severes, 0 fatal for get_anyarray_cc
NVFORTRAN-S-0000-Internal compiler error. size_of: attempt to get size of assumed size character 0 (M_CLI2.f90: 2043)
NVFORTRAN-S-0000-Internal compiler error. size_of: attempt to get size of assumed size character 0 (M_CLI2.f90: 2043)
0 inform, 0 warnings, 2 severes, 0 fatal for get_args_fixed_length_a_array
NVFORTRAN-S-0081-Illegal selector - KIND value must be non-negative (M_CLI2.f90: 2493)
NVFORTRAN-S-0155-Duplicate TYPE IS real (M_CLI2.f90: 2493)
0 inform, 0 warnings, 2 severes, 0 fatal for print_generic
NVFORTRAN-S-0081-Illegal selector - KIND value must be non-negative (M_CLI2.f90: 2555)
NVFORTRAN-S-0155-Duplicate TYPE IS real (M_CLI2.f90: 2555)
0 inform, 0 warnings, 2 severes, 0 fatal for print_generic
NVHPC 20.9:
Install with
wget https://developer.download.nvidia.com/hpc-sdk/20.9/nvhpc_2020_209_Linux_x86_64_cuda_11.0.tar.gz
tar xpzf nvhpc_2020_209_Linux_x86_64_cuda_11.0.tar.gz
NVHPC_SILENT=true NVHPC_INSTALL_DIR=/opt/nvidia/hpc_sdk NVHPC_INSTALL_TYPE=single sudo nvhpc_2020_209_Linux_x86_64_cuda_11.0/install
Load the PGI compilers with
module use /opt/nvidia/hpc_sdk/modulefiles
module load nvhpc
Adjust compiler from gfortran to nvfortran
make -C src
NVFORTRAN-S-0155-ALLOCATE Type-Specification is incompatible with type of object strings (M_CLI2.f90: 1836)
NVFORTRAN-S-0155-ALLOCATE Type-Specification is incompatible with type of object strings (M_CLI2.f90: 1841)
0 inform, 0 warnings, 2 severes, 0 fatal for get_fixed_length_any_size_cxxxx
NVFORTRAN-S-0081-Illegal selector - KIND value must be non-negative (M_CLI2.f90: 2293)
NVFORTRAN-S-0155-Duplicate TYPE IS real (M_CLI2.f90: 2293)
0 inform, 0 warnings, 2 severes, 0 fatal for print_generic
NVFORTRAN-S-0081-Illegal selector - KIND value must be non-negative (M_CLI2.f90: 2355)
NVFORTRAN-S-0155-Duplicate TYPE IS real (M_CLI2.f90: 2355)
0 inform, 0 warnings, 2 severes, 0 fatal for print_generic
Tried to compile this project with the PGI compilers. This didn't work, in case it is helpful I will share my workflow for the setup and test to reproduce the compiler errors.
NVHPC 20.7:
gfortran
tonvfortran
make -C src
NVHPC 20.9:
gfortran
tonvfortran
make -C src