Not logged in
Talk
Contributions
Create account
Log in
Navigation
Main page
About
People
Publications
Teaching
Resources
Research Blog
Wiki Functions
Recent changes
Help
Licensing
Project page
Discussion
Edit
View history
Editing
CommunityData:Klone
(section)
From CommunityData
Jump to:
navigation
,
search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Initial .Bashrc === Before we get started using our apptainer package on klone, we need to start with a <code>.bashrc</code>. Using a text editor (nano is a good choice if you don't already have a preference), create your <code>.bashrc</code> by pasting in the following code. Then run the command <code>source ~/.bashrc</code> to run the .bashrc and enable the environment. <syntaxhighlight language='bash'> # .bashrc export LOGIN_NODE=$(hostname | grep -q '^klone-login01' ; echo $?) export SBATCH_EXPORT=BASH_ENV='~/.bashrc' export SLURM_EXPORT_ENV=BASH_ENV='~/.bashrc' export SLURM_EXPORT_ENV=BASH_ENV='~/.bashrc' if [ -f ~/.bash_aliases ]; then . ~/.bash_aliases fi # User specific environment if ! [[ "$PATH" =~ "$HOME/.local/bin:$HOME/bin:" ]] then PATH="$HOME/.local/bin:$HOME/bin:$PATH" fi export PATH # Source global definitions if [ -f /etc/bashrc ]; then . /etc/bashrc fi source "/gscratch/comdata/env/cdsc_klone_bashrc" if [[ "$LOGIN_NODE" == 0 ]]; then : else # Uncomment the following line if you don't like systemctl's auto-paging feature: # export SYSTEMD_PAGER= # User specific aliases and functions umask 007 export APPTAINER_BIND="/gscratch:/gscratch,/mmfs1:/mmfs1,/gpfs:/gpfs,/sw:/sw,/usr:/kloneusr,/bin:/klonebin" export OMP_THREAD_LIMIT=40 export OMP_NUM_THREADS=40 export PATH="$PATH:/gscratch/comdata/users/$(whoami)/bin:/gscratch/comdata/local/spark:/gscratch/comdata/local/bin" source "/gscratch/comdata/users/nathante/spark_env.sh" export _JAVA_OPTIONS="-Xmx362g" fi </syntaxhighlight>
Summary:
Please note that all contributions to CommunityData are considered to be released under the Attribution-Share Alike 3.0 Unported (see
CommunityData:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:
Cancel
Editing help
(opens in new window)
Tools
What links here
Related changes
Special pages
Page information