sudo port selfupdate sudo port upgrade outdated sudo port install gfortran g95 gforth gcc49 libgcc sudo port install cctools cctools-headers sudo port install openmpi openmpi-gcc49 sudo port selfupdate sudo port upgrade outdated
# Set PATH so it includes user's private bin if it exists if [ -d "${HOME}/bin" ] ; then PATH=${HOME}/bin:${PATH} fi
USER@MACHINE::~ % ls -all ~/bin 8 lrwxr-x--- 1 itt staff 35B 2 Oct 14:29 mpif90@ -> /opt/local/bin/mpif90-openmpi-gcc49 8 lrwxr-x--- 1 itt staff 35B 3 Oct 17:25 mpirun@ -> /opt/local/bin/mpirun-openmpi-gcc49
/usr/local/bin /usr/local/mpich/bin
# System-wide .profile for sh(1) PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/mpich/bin" export PATH if [ "${BASH-no}" != "no" ]; then [ -r /etc/bashrc ] && . /etc/bashrc fi
sudo tar -xzfv gfortran-appropriate.tar.gz -C/
sudo mkdir /usr/local/mpich
tar -xzfv mpich2-latest.tar.gz
- prefix=/usr/local/mpich --with-device=ch3:shm --with-pm=gforker
./config - prefix=/usr/local/mpich --with-device=ch3:shm --with-pm=gforker
make
sudo make install
mpiexec -n 4 ./DLPOLY.X
[Top]