![]() If following the above setup add it with: export PATH=$PATH:/mirror/deflt3d/bin/lnx/flow2d3d/binįor running wave models you should have wave/bin, swan/bin and swan/scripts on your path export PATH=$PATH:/mirror/delft3d/bin/lnx/flow2d3d/bin:/mirror/delft3d/bin/lnx/wave/bin/:/mirror/delft3d/bin/lnx/swan/bin/:/mirror/delft3d/bin/lnx/swan/scripts/Īlso Delft3d expects the LD_LIBRARY_PATH to contain the directory with export LD_LIBRARY_PATH=/mirror/deflt3d/bin/lnx/flow2d3d/bin:/mirror/delft3d/bin/lnx/swan/libĪlso D3D_HOME should be exported export D3D_HOME=/mirror/delft3d/bin/lnx To run a flow simulation you will need the directory containing d_hydro.exe on your path. build.sh -gnu -64bitĪdd a user mpiu and give that user ownership of the NFS share directory. cd /mirrorĮdit build.sh edit lines 243-245 and 247 if using gfortran to point to mpich install at /mirror/mpich2 sudo. Then checkout the repository out as below and enter the source directory. subversion/servers in your home directory and having something like the following around line 100. If you are using subversion behind a proxy you need to associate the remote domain with the proxy by editing. ![]() configure CFLAGS=-fPIC FFLAGS=-fPIC FC=gfortran -enable-shared -enable-lib-depend -prefix=/mirror/mpich2 On all nodes if you are going to use hostnames make sure the hostname is associated with an IP address in /etc/hosts MPICH ( Message Passing Interface )Ĭommand for building mpich sudo. On the slave nodes of your cluster edit /etc/fstab with root privileges master-hostname:/mirror /mirror nfs ![]() sudo mkdir /mirrorĮcho "/mirror *(rw,sync)" | sudo tee -a /etc/exports On your cluster master make a directory for sharing via NFS and add it to /etc/export then restart NFS. sudo apt-get install gcc gfortran automake autoconf subversion libreadline6-dev bison flex g libtool autotools-dev nfs-server nfs-client libexpat1-dev Sudo echo -e "\n#Use unity 2d for client sessions\nCOMMAND_START_GNOME='gnome-session -session=ubuntu-2d'"|sudo tee -a /etc/nxserver/nfĬommon libraries required for building Delft3d, this should be done on all nodes. Sudo sed -i 's/quantal/precise/g' /etc/apt//freenx-team-ppa-precise.list Windows client available here export https_proxy=your_proxy.ac.uk:8080 If you are setting up a remote machine and you would like a remote graphical interface, FreeNX is a useful fast secure way of running one. The code below was tested on Ubuntu 12.04 ( Precise Pangolin ) Desktop. It is worth reading MpichCluster howto for background information on setting up clusters with Ubuntu. setup up on Ubuntu 12.04 (Prescise Pangolin). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |