Skip to content

Instantly share code, notes, and snippets.

View milancurcic's full-sized avatar
🌴
On vacation

Milan Curcic milancurcic

🌴
On vacation
View GitHub Profile
@milancurcic
milancurcic / building_openmpi-hdf5-netcdf_stack.md
Last active May 24, 2021 02:37
Building the parallel OpenMPI-HDF5-NetCDF stack

Parallel OpenMPI-HDF5-NetCDF stack

Description

Instructions for building the OpenMPI-HDF5-NetCDF stack with parallel I/O from source, using the Intel Compiler suite.

Valid for the following packages:

  • openmpi-2.1.1
@milancurcic
milancurcic / read_grads_example.f90
Last active June 12, 2020 09:58
Example Fortran program that reads a GrADS binary file
program read_grads_example
! Example program that reads a flat binary file
!
! With GNU Fortran, compile as:
!
! gfortran -fconvert=big-endian read_grads_example.f90
!
! With Intel Fortran, compile as:
!
@milancurcic
milancurcic / grads_to_netcdf.f90
Created May 14, 2018 20:36
Example to read a field from GrADS file and write to NetCDF file
program grads_to_netcdf
! Example program that reads a GrADS file and writes the field to NetCDF file.
!
! With GNU Fortran, compile as:
!
! gfortran -fconvert=big-endian grads_to_netcdf.f90 -I$NETCDF/include -L$NETCDF/lib -lnetcdf -lnetcdff
!
! With Intel Fortran, compile as:
!