LISFLOOD-FP

This page contains information for the Lisflood model developers.

Windows
“\Start Menu\Programs\Microsoft Visual Studio 2005\Visual Studio Tools\ Visual Studio 2005 Command Prompt” This will setup the paths and links to libraries the compiler needs and open a command line window. Change directory to where your source code is and type: >cl your_code.cpp /O2 “\Start Menu\Programs\Intel(R) Software Development Tools\ Intel(R) C++ Compiler 9.1\Build Environment for IA-32 applications”. This will setup the paths and links to libraries the compiler needs and open a command line window. Change directory to where your source code is and type: >icl your_code.cpp /fast Note: the /fast option may not generate a working executable for older processor architectures. In this case you can use: >icl your_code.cpp /O3 which generates an executable that is almost as quick.
 * Microsoft C++ (Windows): Bristol University have a site CHEST licence for this, so no costs to install. This compiler can be used from a stand alone command line or using the MS Visual Studio 2005 debugging environment. To use the command line, go to the start menu and find:
 * Intel C++ v9.1 (Windows): Academic licence costs £61 per seat through Polyhedron. This compiler requires the Microsoft C++ windows compiler to be installed, but you can also use it on its own as a command line compiler. It is also integrated into the Visual Studio 2005 environment if you wish to use it that way. To use the command line, go to the start menu and find:

So far we've found that the Intel compiler gives a speed up of about 5x over our our previous Borland Builder-compiled version of the model.

Linux
>g++ your_code.cpp –O3 –o your_code >source /opt/intel/cc/10.0.023/bin/iccvars.csh Then compile the code using >icpc lisflood.cpp -O3 -static -o lisflood Our tests show that on a linux box the Intel compiler is about 1.5-2x faster than g++.
 * g++ (free): This compiler can be used by logging into the linux machines dylan or brian through SSH secure shell. To use it, change directory to where your source code is and type:
 * Intel C++ v9.1 (linux): Academic licence costs £61 per seat through Polyhedron. Log into the linux machine dylan through SSH secure shell, change directory to where the source code is and type