Download FreeFem++-cs from http://www.ljll.math.upmc.fr/~lehyaric/ffcs/install.php. You do not need to be an administrator to install and use FreeFem++-cs in your own account. You do not need to remove other versions of FreeFem++-cs or FreeFem++ from your machine (several different versions of FreeFem++-cs can coexist on the same machine or even in the same account without interference).
The FreeFem++-cs package contains the following programs :
Run the executable install package. Then click on the FreeFem++-cs icon on the desktop to run the software.
Note for MPI users on 32-bit Windows : FreeFem++-cs can run FreeFem++ MPI scripts on the local machine only if http://www.microsoft.com/download/en/details.aspx?id=14737 is installed. If MPI is not installed locally, FreeFem++-cs can still run parallel scripts on remote servers.
Note for MPI users on 64-bit Windows : FreeFem++-cs is not able to use MPI on Win64 platforms yet, but it can still run parallel scripts on remote servers.
Unpack the ZIP archive onto the Desktop. Then click on the FreeFem++-cs icon to run the software.
Note about X11 for MacOS : FreeFem++-cs needs the X11 application. On MacOS 10.5 or later, X11 is started automatically. On MacOS 10.4 or earlier, X11 needs to be started by hand (from Applications/Utilities) before FreeFem++-cs. For more information about X11, please check http://en.wikipedia.org/wiki/X11.app
Untar the package to any location (e.g. the desktop). Then click on "FreeFem++-cs" (in the package main directory) to run the software.
Under Gnome, you have the option to click on "install_on_gnome_desktop" to create a FreeFem++-cs icon on the Gnome desktop.
_MPICH_ needs to be installed before running any parallel FreeFem++ scripts.
Install Cygwin and its following extra packages : cygstart /cygdrive/c/tmp/setup.exe --quiet-mode --packages bison,curl,flex,gcc-core,gcc-g++,m4,make,opengl,patch,perl,rsync,unzip,wget,cmake,bzip2 . Also install Inno Setup (http://www.jrsoftware.org/isinfo.php). MinGW/MinGW-w64 will be downloaded automatically during the FreeFem++-cs building process. During FreeFem++-cs development, KDiff3 can also be downloaded to merge Mercurial trees.
Please install MacPorts and issue the following command : sudo port install perl5 g95 openmpi/+gcc46 xorg-libXext xorg-libXt cmake bzip2
Install the following packages :
To extract the FreeFem++-cs source from an archive :
To extract the FreeFem++-cs source from Mercurial :
To compile FreeFem++-cs from the source on Linux, MacOS X or Cygwin :
The compilation process produces an install package for your architecture (.exe, .tgz, .app or .zip) in the pack subdirectory. Please refer to platform-specific instructions above to use this package.
./configure --prefix=/opt/ffcs --localstatedir=/var --sysconfdir=/etc --libdir=/usr/lib64 --with-freefem-options="--enable-download --enable-optim --enable-opengl --with-flib=/usr/lib64/libgfortran.so.3.0.0 --with-mpi=yes"
On Windows, installing FreeFem++-cs as an administrator makes it automatically available to all users and sets new EDP files icons.
On Linux and MacOS, if you are an administrator, you can make FreeFem++-cs available to all users by running the script "install_as_root" (in the main directory) as root. It will copy the software into /usr/local and create symbolic links /usr/local/bin. For a more advanced setup, the script accepts two parameters: "./install_as_root <prefix> <bindir>". <prefix> is where the FreeFem++-cs directory will be copied (defaults to /usr/local). <bindir> is where soft links to the FreeFem++ and FreeFem++-cs executables will be created (defaults to <prefix>/bin). To uninstall the software, run the "uninstall" script found in the installed FreeFem++-cs directory.
FreeFem++-cs is able to contact remote server to run FreeFem++ scripts :
| Add your comments |
|---|