Notes on using Alma 9 nodes at STAR
Ref: @[July 14, 2025] > STAR Software Mattermost chat with link to tutorial page
Ref: @[July 14, 2025] > STAR Software Mattermost chat link to issue with STAR_ROOT not found
Ref: @[July 14, 2025] > STAR Software Mattermost chat link to fix issue with STAR_ROOT not found
The information contained herein is valid as of the time of writing July 15, 2025 and may change as the STAR software develops
Summary
- Use Alma 9 nodes to have access to a larger pool of condor nodes
- Alma 9 nodes are starsub0X where “X” is a number between 1 and 7 (1 and 2 having older versions of condor)
- For example to login to the gateway and Alma 9 node in one go do
ssh -t username@ssh.sdcc.bnl.gov ssh starsub04
- This assumes you have your ssh private key loaded into the agent see.
- Alma 9 can only use NFS formatted disks
- To setup NFS disks do the following (note that the first three of these thing have to actually be done in your .login or .cshrc scripts. you cannot do this later. You can set up root later, I believe):
- In your .cshrc login script replace
setenv GROUP_DIR /afs/rhic.bnl.gov/star/group
tosetenv GROUP_DIR /star/nfs4/AFS/star/group
- One line above where you just did the replacement in the .cshrc file add
setenv USE_NFS4 1
- If you have a .login script replace
setenv GROUP_DIR /afs/rhic.bnl.gov/star/group
tosetenv GROUP_DIR /star/nfs4/AFS/star/group
4. Following those changes, you must then add the following to you login script. Add the linessetup 64b
followed bysetup ROOT 6.20.08
. I believe this number may change as the versions of root6 change.
- In your .cshrc login script replace
- To setup NFS disks do the following (note that the first three of these thing have to actually be done in your .login or .cshrc scripts. you cannot do this later. You can set up root later, I believe):
- STAR software doesn’t run on Alma 9 and must use the container
singularity
- To use
singularity
first setup NFS environment following instructions above - To run STAR code interactively on an Alma 9 node do
singularity exec -e -B /direct -B /star -B /afs -B /gpfs -B /sdcc/lustre02 /cvmfs/star.sdcc.bnl.gov/containers/rhic_sl7.sif csh
- This will start the
singularity
environment for STAR and you can now run your STAR scripts normally - if you want to run jobs using condor in the singularity container, compile all code in the singularity container. This will use all the libraries available in the container. It also uses ROOT5.
- This will start the
- To use
- Condor jobs must also be handled differently to use the container
- For STAR scheduler
- add to your xml
<shell>singularity exec -e -B /direct -B /star -B /afs -B /gpfs -B /sdcc/lustre02 /cvmfs/star.sdcc.bnl.gov/containers/rhic_sl7.sif</shell>
- Submit using
star-submit-beta
orstar-submit-template-beta
- add to your xml
- For condor jobs
- The executable should be
/bin/env
- The arguments should be
singularity exec -e -B /direct -B /star -B /afs -B /gpfs -B /sdcc/lustre02 /cvmfs/star.sdcc.bnl.gov/containers/rhic_sl7.sif /path/to/script.csh rest of arguments to csh script
- Note that if your script was copied to the condor node the path need only be “./”, i.e. the current directory
- The executable should be
- For STAR scheduler
Background
The end of life for Scientific Linux 7 (SL7) has made it necessary and prudent for SDCC to switch to a different operating system (OS). This is the Alma 9 OS. However, The STAR software does not work out of the box on the Alma 9 OS. This could be due to the switch to a 64 bit OS. Also, on Alma 9, the AFS formatted disks are not accessible and only NFS formatted disks are. To run STAR software on Alma 9 one must use a “virtual box” to run code that uses the STAR libraries. This “virtual box” is called singularity
. singularity
is a container that will allow you to use the STAR software on STAR nodes running Alma 9.
The Alma 9 nodes cannot be reached with the usual rterm -i
command. You need to ssh to them directly from the gateway. The nodes are starsub0X where “X” is a number from 1 to 7, e.g. ssh starsub04
. The nodes numbered 3 and above have the latest version of condor and are thus recommended.
Q&A
- Fatal in <TVirtualStreamerInfo::Factory>: Cannot find the plugin handler for TVirtualStreamerInfo! However $ROOTSYS/etc/plugins/TVirtualStreamerInfo is accessible, Check the content of this directory!
- This happens for older version of star libraries, use newer version (>= SL22c) to avoid this error.