Hoffman2:Software Tools:CentOS 7: Difference between revisions
Jump to navigation
Jump to search
Line 4: | Line 4: | ||
At this point (August 2021), partial of Hoffman's work nodes have been upgraded to CentOS 7. | At this point (August 2021), partial of Hoffman's work nodes have been upgraded to CentOS 7. | ||
=== CCN | === CCN modules for CentOS 7=== | ||
To use CCN | To use CCN modules in Hoffman2, you'll need to specify the new modulefiles path for CentOS 7 for interactive mode or batch mode | ||
==== For interactive mode ==== | ==== For interactive mode ==== | ||
Line 17: | Line 17: | ||
Add a line to use modulefiles_rh7 | Add a line to use modulefiles_rh7 | ||
module use /u/project/CCN/apps/modulefiles_rh7 | module use /u/project/CCN/apps/modulefiles_rh7 | ||
(*Don't forget to turn them back if you need to use CentOS 6 environment again) | |||
Once you complete editing, start an interactive mode for CentOS 7 node | Once you complete editing, start an interactive mode for CentOS 7 node |
Revision as of 22:01, 12 August 2021
Hoffman CentOS 7
At this point (August 2021), partial of Hoffman's work nodes have been upgraded to CentOS 7.
CCN modules for CentOS 7
To use CCN modules in Hoffman2, you'll need to specify the new modulefiles path for CentOS 7 for interactive mode or batch mode
For interactive mode
you need to edit your ~/bashrc or ~/bash_profile
gedit ~/bashrc
comment out
#module use /u/project/CCN/apps/modulefiles
Add a line to use modulefiles_rh7
module use /u/project/CCN/apps/modulefiles_rh7
(*Don't forget to turn them back if you need to use CentOS 6 environment again)
Once you complete editing, start an interactive mode for CentOS 7 node
For batch mode
Add the following line to your batch job file
module use /u/project/CCN/apps/modulefiles_rh7
Request a CentOS 7 node with interactive mode
To request a work node with CentOS 7, you'll need to use 'rh7' after -l option, for example
qrsh -l rh7,h_data=4G,h_rt=2:00:00
Request a CentOS 7 node with batch mode
It's similar as interactive mode, 'rh7' is needed for -l option
#$ -l rh7,h_rt=2:00:00,h_data=4G