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:Hyak Ikt (Deprecreated)
(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!
== Setting up your user's Hyak environment with CDSC tools == When setting up Hyak, you must first add these two stanzas to '''very top''' and the ''very bottom'' of your <code>~/.bashrc</code> file. Generally, you can simply edit the following file on Hyak: <code>~/.bashrc</code> ## hyak-cdsc specific options -- TOP OF FILE source /com/gentoo/etc/profile ## end hyak-cdsc specific options -- TOP OF FILE ## BEGIN hyak-cdsc specific options -- BOTTOM OF FILE source /etc/profile.d/modules.sh module load parallel_sql alias int_machine='srun -p comdata-int --time=500:00:00 --mem=200G --pty /bin/bash' alias big_machine='srun -p comdata --time=500:00:00 --mem=200G --pty /bin/bash' alias any_machine='srun -p comdata --time=500:00:00 --mem=100G --pty /bin/bash' alias build_machine='srun -p build --time=8:00:00 --mem=10G --pty /bin/bash' alias rgrep='grep -r' MC_CORES=16 PATH="/com/local/bin:/sw/local/bin:$PATH" R_LIBS_USER="~/R" umask 007 ## END hyak-cdsc specific options -- BOTTOM OF FILE These are new as of '''November 30, 2017.''' As a result, '''you must completely remove the old environment variables, and such. They include material that will screw things up.''' The final line is particularly important. If you do not do this, the files you create on Hyak will be able to be read or written by others in the group! Once you do this, you will need to restart bash. This can be done simply by logging out and then logging back in or by restarting bash with the command <code>exec bash</code>. I also add these two lines to my Hyak .ssh/config: ForwardX11 yes ForwardX11Trusted yes These lines will mean that if I have "checked out" an interactive machine, I can ssh from my computer to Hyak and then directly through an addition hop to the machine (like ssh n0652). Those ForwardX11 lines means if I graph things on this window, they will open on my local display. === Python Packages === If you need python libraries that are not installed in the shared environment: $ pip3 install --user YOURLIBHERE ...replacing YOURLIBHERE with the name of the library you need, e.g. 'pandas'. The --user option will install it for just you. If you have a lot of dependencies for a specific project, consider using [[#Python Virtual Environments |Python Virtual Environments]]
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