This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# go through all symbolic links | |
for i in `find . -type l` | |
do | |
# get absolute path behind link | |
export realFile=$(readlink -f $i) | |
# capture symlinks pointing nowhere | |
if [ -z $realFile ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This is an adoptation of a script by Axel Huebl (ax3l) | |
# to compress hdf5 files in PIConGPU simulations. | |
# It is geared to run on SLURM systems with a recent version | |
# of SLURM. | |
#SBATCH --time=72:00:00 | |
#SBATCH --nodes=1 | |
#SBATCH --ntasks=24 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
module load gcc/6.3.0 | |
module load cmake/3.18.4 | |
module load openmpi/2.0.1 | |
module load cuda/9.2 | |
module load boost/1.69.0 | |
export CXX=$(which g++) | |
export CC=$(which gcc) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Tasks for getting started in the CRP group | |
**1. Working with a Terminal:** | |
Familiarize yourself with standard bash commands to be able to navigate, inspect and edit files on a compute cluster. | |
Resources: http://swcarpentry.github.io/shell-novice/ | |
old: https://v4.software-carpentry.org/shell/index.html (especially chapter 9 - ssh) | |
**2. Quick introduction to PIConGPU:** | |
Familiarize yourself with the general concept of PIConGPU (and ISAAC). | |
Resources PIConGPU: https://www.youtube.com/watch?v=FWWDQOf5qy0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# for hemera | |
#module load python/3.6.5 # default for jupyter hub | |
#source test_virtualEnv/bin/activate | |
module load gcc/7.3.0 | |
module load openmpi/4.0.4-csk | |
module load zlib/1.2.11 |