MPICH2 installation
- Install homebrew by typing in the terminal: ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/;
- Install mpich2 by typing in the terminal: brew install mpich2.
- Check that the command mpirun is available. Type and execute in the terminal: which mpirun. The system path to the file, which specifies the command, must be returned;
- create the folder SIMULATIONS somewhere on your system. Navigate to the folder SIMULATIONS;
- create the folder BIN in the folder SIMULATIONS;
- download and copy the simulator executable H64.EXM to the folder SIMULATIONS/BIN;
- Navigate to the folder SIMULATIONS/BIN in the terminal. Enable the execution permission for H64.EXM. For doing this, execute in the terminal: chmod +x H64.EXM;
- create the folder SPE1 in the folder SIMULATIONS. Navigate to the folder SPE1;
- create the folder SIM1 in the folder SPE1;
- download and copy the file SPE1.RUN to the folder SIMULATIONS/SPE1/SIM1;
- navigate in the terminal to the folder SIMULATIONS/SPE1/SIM1;
- in the terminal window type and execute the command: mpirun -n 1 ./../../BIN/H64.EXM SPE1.RUN >SPE1.LOG.