- In distributed-memory (MPI, OpenMPI) you can run ROMS with either serial I/O or parallel I/O. Users should try serial I/O on mostly all their applications. There are still efficiency problems with parallel I/O in ROMS and in general. Notice that to activate parallel I/O in ROMS, you need to activate both PARALLEL_IO and NETCDF4 C-preprocessing options, and you need the parallel NetCDF-4 and HDF5 libraries (--enable-parallel flag when configuring). This is only possible with MPI-2 since we need the MPI-IO layer. Check the following post for details. There is also information about how to prepare the parallel I/O files. However, you can still run your distributed-memory ROMS applications with serial I/O using either the NetCDF-3 or the serial NetCDF-4/HDF5 libraries. If you have problems compiling the serial or parallel NetCDF-4/HDF5 libraries, you still can use the NetCDF-3 library. That is, when running ROMS in distributed-memory not necessarily implies parallel I/O
- In shared-memory (OpenMP) ROMS applications, only serial I/O is possible with either the NetCDF-3 or serial NetCDF-4/HDF5 libraries. Notice that is posible to build the NetCDF-4/HDF5 libraries without parallel I/O support. As a matter of fact, this is the default option when building these libraries. To activate parallel I/O, you need to use the --enable-parallel flag when configuring and compiling these libraries.
- In serial ROMS applications, only serial I/O is possible with either the NetCDF-3 or serial NetCDF-4/HDF5 libraries.
- Notice that all these possible compiling combinations are well described and specified in the build script (build.sh or build.bash). There is plenty of information in the wiki about the build script. You should use always the build script when compiling ROMS.
- ROMS plotting package can be compiled with either the NetCDF-3 or the serial NetCDF-4/HDF5 libraries. The plotting programs (ccnt, cnt, csec, and sec) cannot be run in parallel
Archive of important messages sent via the ROMS mailing list
1 post • Page 1 of 1
- Site Admin
- Posts: 1210
- Joined: Wed Feb 26, 2003 4:41 pm
- Location: DMCS, Rutgers University
There are several posts in this forum about running ROMS in parallel and the type of I/O that we can have.