Minnesota Supercomputing Institute
8.2.0
13.1.0-5z64cho, 13.1.0-mptekim, 4.9.2-krax5se, 4.9.2-ugw6raf, 7.2.0-kjvrzfs, 7.2.0-tvrcc2c, 8.2.0-hisn3fl, 8.2.0-ztp76o3, 8.2.0, 9.2.0, 11.3.0, 4.9.2, 5.1.0, 5.4.0, 6.1.0, 6.3.0, 7.2.0, 8.1.0
Tuesday, November 14, 2023
MSI systems have available the GNU project compilers for C, C++, and Fortran. Extensive information concerning regarding these compilers is available at the GNU Compiler Collection website.
gcc is installed natively on most systems. If gcc is installed natively, no module load is required for the default version of gcc. To see if gcc is installed natively:
which gcc
To run this software in a Linux environment run the commands:
module load gcc gcc
Several versions of Matlab are available, but the versions may be different on different platforms.To list all versions of Matlab available on the machine, type
module avail gcc
To load a specific version, e.g., 4.3.2:
module load gcc/4.3.2
#!/bin/bash #SBATCH --job-name="rfm_RunGNU_COMPILER_Test_job" #SBATCH --ntasks=1 #SBATCH --ntasks-per-node=1 #SBATCH --output=rfm_RunGNU_COMPILER_Test_job.out #SBATCH --error=rfm_RunGNU_COMPILER_Test_job.err #SBATCH --time=0:10:0 #SBATCH -p small,large,ram256g,ram1t module load gcc/8.2.0 wget https://public.s3.msi.umn.edu/reframe/sw/gnu/hello.c wget https://public.s3.msi.umn.edu/reframe/sw/gnu/hello.cpp gcc hello.c -o hello; ./hello; g++ hello.cpp -o hello_cpp; ./hello_cpp