Difference between revisions of "LISFLOOD-FP"

From SourceWiki
Jump to navigation Jump to search
Line 13: Line 13:
 
>cl your_code.cpp /O2
 
>cl your_code.cpp /O2
 
 
Intel C++ v9.1 (Windows) (Academic licence costs £61 per seat through Polyhedron)
+
; Intel C++ v9.1 (Windows): (Academic licence costs £61 per seat through Polyhedron)
 
This compiler requires the windows compiler to be installed, but you can 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.  
 
This compiler requires the windows compiler to be installed, but you can 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 “\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  
 
To use the command line, go to the start menu and find “\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  

Revision as of 15:41, 23 October 2007


This page contains development information for the Lisflood developers.

Latest compiler information

Windows

Microsoft C++ (Windows)
Bristol uni have a site CHEST licence for this, so no costs to install. This compiler can be used as a stand alone command line compiler or using the MS Visual Studio 2005 debugging environment. To use the command line, go to the start menu and find
   “\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

Intel C++ v9.1 (Windows)
(Academic licence costs £61 per seat through Polyhedron)

This compiler requires the windows compiler to be installed, but you can 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 “\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

Linux

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 >g++ your_code.cpp –O3 –o your_code 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 >source /opt/intel/cc/10.0.023/bin/iccvars.csh Then compile the code using >icpc lisflood.cpp -O3 -static -o lisflood