INSTALL ======== Usage: ./install-epsn.sh mode [compiler [proxy]] - mode = quick|full (quick or full install) - compiler = gnu|intel|std (for gnu compiler or intel compiler or standard CC, CXX, FC, F90 environment) - proxy = ssh_proxy_login@ssh_proxy_host (ssh proxy for SVN if behind a firewall) This script requires a direct access to Internet to download EPSN dependencies and the current EPSN version (unstable) from the SVN repository at INRIA Gforge. If you are behind a firewall, you can also set up a proxy (See proxy option). This script installs most of the EPSN dependencies (CMake, Python, OmniORB, MPICH2 and VTK 5.2). It works well on Linux and could be easily improved for other Unix-like system. However it requires some extra-dependencies like QT4, gfortran compiler and GNU tools (tar, wget). There are two modes available: 'full' or 'quick', if you only need the simulation-side part of EPSN (without visualization-side based on VTK and QT) Launch the script from the top directory where it has been uncompressed. Quick Mode ----------- For instance, if you only want to install EPSN simulation-side on a cluster, use the "quick" install mode (no visualization tools). $ ./install-epsn.sh quick Full Mode ---------- If you want to install both EPSN simulation-side and visualization side, use the "full" install mode. $ ./install-epsn.sh full Compiler --------- If you want to compile with GNU or INTEL compiler, one can use the following command, assuming the right compiler is already installed on your operating system. $ ./install-epsn.sh full gnu # for GNU Compiler (gcc, g++, gfortran) $ ./install-epsn.sh full intel # for INTEL Compiler (icc, icpc, ifort) One can use your own compiler by overloading CC, CXX, FC and F90 environment variables. In this case, use the "std" option as follow: $ ./install-epsn.sh full std Proxy Option ------------- Sometimes, you can't compile on the cluster frontend, so you have to launch this script on a cluster node. In this case, you have to set up the proxy machine (i.e. the cluster frontend) in order to create an SSH tunnel for SVN. node$ ./install-epsn.sh quick std proxy Status: This option is still experimental. -- A. Esnard (esnard@labri.fr)