Last active
November 5, 2025 16:17
-
-
Save emiliodallatorre/e0ac36b2e1cb81ff7bcadfdd23a8d14e to your computer and use it in GitHub Desktop.
Init script for AMSC Apptainer container
This file contains hidden or 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
| # Container related init | |
| source /u/sw/etc/bash.bashrc | |
| module load gcc-glibc | |
| module load lis | |
| # Customizations | |
| lis_compiled_path="/home/emiliodallatorre/Documents/PoliMi/NLA/compiled_lis" | |
| mpirun_prefix="mpirun -n 4" | |
| # Aliases section | |
| alias l="ls -la" | |
| alias eigen1="$mpirun_prefix $lis_compiled_path/eigen1" | |
| alias eigen2="$mpirun_prefix $lis_compiled_path/eigen2" | |
| alias etest2="$mpirun_prefix $lis_compiled_path/etest2" | |
| alias etest4="$mpirun_prefix $lis_compiled_path/etest4" | |
| alias test1="$mpirun_prefix $lis_compiled_path/test1" | |
| alias test2="$mpirun_prefix $lis_compiled_path/test2" | |
| alias test4="$mpirun_prefix $lis_compiled_path/test4" | |
| alias test5="$mpirun_prefix $lis_compiled_path/test5" | |
| # Usage: source apptainer_amsc_init.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment