I'm a new user and downlaoded the 5.14.0 sources to build on a
4.13.11-1-ARCH #1 SMP PREEMPT x86_64 GNU/Linux
using gfortran with
gcc version 7.2.0 (GCC)
This throws the following error (sorry for the formatting, github does not seem to like the cmake output):
`[ 2%] Built target lib_f90c
[ 2%] Building Fortran object lib_f90/CMakeFiles/lib_f90.dir/random_state_mod.f90.o
discus/DiffuseCode-5.14.0/lib_f90/random_state_mod.f90:67:27:
CALL RANDOM_SEED(PUT=seed_val)
1
Error: Size of 'put' argument of 'random_seed' intrinsic at (1) too small (12/33)
discus/DiffuseCode-5.14.0/lib_f90/random_state_mod.f90:72:27:
CALL RANDOM_SEED(PUT=seed_val)
1
Error: Size of 'put' argument of 'random_seed' intrinsic at (1) too small (12/33)
discus/DiffuseCode-5.14.0/lib_f90/random_state_mod.f90:77:24:
CALL RANDOM_SEED(PUT=seed_val)
1
Error: Size of 'put' argument of 'random_seed' intrinsic at (1) too small (12/33)
discus/DiffuseCode-5.14.0/lib_f90/random_state_mod.f90:35:21:
CALL RANDOM_SEED(GET=seed_val)
1
Error: Size of 'get' argument of 'random_seed' intrinsic at (1) too small (12/33)
`
As the release notes mention changes to the random number generation this seems to be a bug, version 13 builds without errors on the same machine.
Edit:
make install of version 13 fails with an error that seems related to the other issue already posted before:
file INSTALL cannot find "/usr/include/grfont.dat".
I fixed that by manually copying the file. A second error was
Dear maintainers,
I'm a new user and downlaoded the 5.14.0 sources to build on a
4.13.11-1-ARCH #1 SMP PREEMPT x86_64 GNU/Linux
using gfortran with
gcc version 7.2.0 (GCC)
This throws the following error (sorry for the formatting, github does not seem to like the cmake output):
`[ 2%] Built target lib_f90c [ 2%] Building Fortran object lib_f90/CMakeFiles/lib_f90.dir/random_state_mod.f90.o discus/DiffuseCode-5.14.0/lib_f90/random_state_mod.f90:67:27:
Error: Size of 'put' argument of 'random_seed' intrinsic at (1) too small (12/33) discus/DiffuseCode-5.14.0/lib_f90/random_state_mod.f90:72:27:
Error: Size of 'put' argument of 'random_seed' intrinsic at (1) too small (12/33) discus/DiffuseCode-5.14.0/lib_f90/random_state_mod.f90:77:24:
Error: Size of 'put' argument of 'random_seed' intrinsic at (1) too small (12/33) discus/DiffuseCode-5.14.0/lib_f90/random_state_mod.f90:35:21:
CALL RANDOM_SEED(GET=seed_val) 1 Error: Size of 'get' argument of 'random_seed' intrinsic at (1) too small (12/33) `
As the release notes mention changes to the random number generation this seems to be a bug, version 13 builds without errors on the same machine.
Edit:
make install of version 13 fails with an error that seems related to the other issue already posted before:
file INSTALL cannot find "/usr/include/grfont.dat".
I fixed that by manually copying the file. A second error was
file INSTALL cannot find "/usr/include/pgxwin_server"
This file for me was in
/usr/bin/
so I fixed this via a symlink.