[swash-users] Error during compilation of latest version
Brought to you by:
mzijlema
|
From: Nicolas G. <nic...@ou...> - 2025-07-23 09:23:31
|
Dear devs,
I tried to compile latest version using main branch from gitlab repo but I get this error:
$ cmake --build .
[3/28] Building Fortran object lib/CMakeFiles/swash11.01.dir/SwashBCspectrum.f90.o
FAILED: lib/CMakeFiles/swash11.01.dir/SwashBCspectrum.f90.o
/usr/bin/f95 -I../src -O -w -fno-second-underscore -ffree-line-length-none -Jmod -fpreprocessed -c lib/CMakeFiles/swash11.01.dir/SwashBCspectrum.f90-pp.f90 -o lib/CMakeFiles/swash11.01.dir/SwashBCspectrum.f90.o
../src/SwashBCspectrum.f90:337:28:
337 | call random_seed(put=tseed)
| 1
Error: Size of ‘put’ argument of ‘random_seed’ intrinsic at (1) too small (1/33)
[24/28] Building Fortran object lib/CMakeFiles/swash11.01.dir/SwashQuanOutp.f90.o
ninja: build stopped: subcommand failed.
It seems related to this change: https://gitlab.tudelft.nl/citg/wavemodels/swash/-/commit/c4257fc693139cae42d7d95c94a03e633ac32837#2ce7c825b5b808abffd4ec32380f3ce8b24735be
Kind regards,
Nicolas
|