I have gone through the 2019 Tutorial, all done in the root MPAS Model folder. Considering that I plan to run several case study with different time period (for example June 1990 and June 2018), using CFS (pre 2011) and CFSV2 (post 2010). I would like to have different folder for each case. I plan to have something similar to below
Home-directory
---->MPAS-Model-7.0
---->---->Meshes-folder
---->---->June-1990-folder
---->---->June-2018-folder
---->WPS-4.2
---->WPS-GEOG
---->DATA
---->Other-MPAS-Utilities
I did try running init_atmosphere_model inside a subfolder. The subfolder contains all the mesh files, the intermediate files, the namelist and streams files. init_atmosphere_model has no problem running through `mpirun -n 4 ../init_atmosphere_model`. The static, surface update, and boundary layer condition files were created properly and successfully.
When I tried running atmosphere_model inside the same subfolder through `mpirun -n 4 ../atmosphere_model`, it runs to critical error, that OZONE_PLEV.TBL couldn't be read. I linked the file into the subfolder. I ran atmosphere_model again, and this time it asks for another *.TBL file. I linked all the *.TBL files this time. Ran it again, and this time,
At this point, I stopped using subfolder for the tutorial and ran everything on the model folder.
What is possible from what I have seen is to edit the streams file to add folder names, so that the input and output file can be written and read from a different location. The mesh supporting files for parallel run however has to be in the model folder, or linked to the model folder.
Is there a way or a guide on how to run MPAS-Atmosphere on a different location? It seems the executable atmosphere_model is set to be looking for the files relative to where it was called, and not looking for the files on an absolute location or where the executable was build.
Home-directory
---->MPAS-Model-7.0
---->---->Meshes-folder
---->---->June-1990-folder
---->---->June-2018-folder
---->WPS-4.2
---->WPS-GEOG
---->DATA
---->Other-MPAS-Utilities
I did try running init_atmosphere_model inside a subfolder. The subfolder contains all the mesh files, the intermediate files, the namelist and streams files. init_atmosphere_model has no problem running through `mpirun -n 4 ../init_atmosphere_model`. The static, surface update, and boundary layer condition files were created properly and successfully.
When I tried running atmosphere_model inside the same subfolder through `mpirun -n 4 ../atmosphere_model`, it runs to critical error, that OZONE_PLEV.TBL couldn't be read. I linked the file into the subfolder. I ran atmosphere_model again, and this time it asks for another *.TBL file. I linked all the *.TBL files this time. Ran it again, and this time,
Code:
ERROR: module_ra_rrtmg_sw: error reading RRTMG_SW_DATA on unit 10
CRITICAL ERROR: MPAS core_physics abort
What is possible from what I have seen is to edit the streams file to add folder names, so that the input and output file can be written and read from a different location. The mesh supporting files for parallel run however has to be in the model folder, or linked to the model folder.
Is there a way or a guide on how to run MPAS-Atmosphere on a different location? It seems the executable atmosphere_model is set to be looking for the files relative to where it was called, and not looking for the files on an absolute location or where the executable was build.