w222chen/OpenMP_2025
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
//Jemmy Hu, June 16, 2025 # When login to Magic Castle using the username and password asigned to you ssh userxxxx@coss-b.c3.ca or ssh userxxxx@coss-a.c3.ca # select cpus(threads) to be 4 on the login node for interactive run [ ...$] export OMP_NUM_THREADS=4 # use newer compiler in StdEnv/2023 [ ...$] module load StdEnv/2023 # compile gcc –fopenmp –o hellow_omp hellow_omp.c gfortran –fopenmp –o hellow_omp hellow_omp.f90 # interactive run ./hellow_omp # submit job to slurm queue satch hellow_omp.sh # get files from github git clone https://github.com/jemmyhu/OpenMP_2025.git