Difference between revisions of "LISFLOOD-FP"
Jump to navigation
Jump to search
Paul-bates (talk | contribs) |
Paul-bates (talk | contribs) |
||
Line 6: | Line 6: | ||
===Windows=== | ===Windows=== | ||
− | ; Microsoft | + | ; 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\ | “\Start Menu\Programs\Microsoft Visual Studio 2005\Visual Studio Tools\ | ||
Visual Studio 2005 Command Prompt” | 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: | 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 | >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: | + | ; 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 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\ | “\Start Menu\Programs\Intel(R) Software Development Tools\ | ||
Intel(R) C++ Compiler 9.1\Build Environment for IA-32 applications”. | Intel(R) C++ Compiler 9.1\Build Environment for IA-32 applications”. |
Revision as of 15:14, 24 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 Microsoft c++ 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