Assimilation procedures require the compilation flags -lparpack and -larpack that are absent from the current docker image. According to the ROMS wiki, the compilation requires a modified version of these libraries that can be obtained from the SVN trunk.
I was able to compile the model with the libraries (notice that the correct flags for data assimilation must be activated in the corresponding .h file).
I'll register the procedure here, so we can incorporate the modifications to the docker image eventually.
Within the interactive docker container:
cd rom_src
mkdir Lib
cd Lib
svn checkout https://www.myroms.org/svn/src/libs/ARPACK
cd ARPACK
We need to set the appropriate flags to gfortran. Edit the ARmake.inc lines 147-148 to
I pushed a change with the dockerfile and docker-compose (personal case). The model compiles successfully, now we need to test it with the appropriate files.
Assimilation procedures require the compilation flags
-lparpack
and-larpack
that are absent from the current docker image. According to the ROMS wiki, the compilation requires a modified version of these libraries that can be obtained from the SVN trunk.I was able to compile the model with the libraries (notice that the correct flags for data assimilation must be activated in the corresponding .h file).
I'll register the procedure here, so we can incorporate the modifications to the docker image eventually.
Within the interactive docker container:
We need to set the appropriate flags to gfortran. Edit the ARmake.inc lines 147-148 to
And lines 154-155 to
After editing, in the same directory, run:
After compiling,
libarpack.a
andlibparpack.a
are ready. We move them to the root directory withAfterwards, the compilation should run successfully. This procedure must be adapted to the dockerfile.