I am trying to compile a CFD code on a Mac. The code is parallelized using MPI, and is written with a combination of C++ and Fortran. In addition, it runs a Python interpreter to handle IO tasks via calls to h5py and mpi4py. h5py it turns relies on libhdf5, which must be compiled with MPI support. On a Linux workstation, we setup a conda environment specified
channels:
- defaults
- conda-fe
-
-
dependencies:
- python=3.9.20
- hdf5=*=*mpich*
- h5py=*=mpi*
- gxx_linux-64
- gfortran
- colorama
This creates an environment which includes all that is needed to compile and run the code. Note that on Linux boxes we were also able to compile the code with Intel and CLang compilers. Clearly, this is not going to work on a mac. What should I use instead of gxx_linux-64? Any other thing that needs to be changed to have the correct mpi/hdf5/h5py/mpi4py libraries and environment installed?