This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
cluster:213 [2022/05/10 19:08] hmeij07 |
cluster:213 [2023/02/08 14:31] hmeij07 |
||
---|---|---|---|
Line 73: | Line 73: | ||
iptables -L # check! | iptables -L # check! | ||
- | # Rocky8 | + | |
- | # https:// | + | |
- | dnf config-manager --set-enabled powertools | + | |
- | dnf install epel-release | + | |
- | dnf install netcdf netcdf-devel | + | |
- | dnf install yum-utils # yumdownloader | + | |
- | dnf install ddd | + | |
- | dnf install grace | + | |
- | dnf install gnuplot | + | |
- | dnf install alpine # pico | + | |
- | yum groupinstall " | + | |
# other configs | # other configs | ||
vi / | vi / | ||
mv /home /usr/local/ | mv /home /usr/local/ | ||
+ | cd /;ln -s / | ||
+ | cd /; ln -s /home /share | ||
vi /etc/passwd (exx, dockeruser $HOME) | vi /etc/passwd (exx, dockeruser $HOME) | ||
- | ## edit passwd, shadow, group, hosts files ## | ||
- | ## make -orig backups and stage in / | ||
- | ## cottontail2 = greentail52 sections | ||
+ | #exx96 | ||
mkdir /sanscratch / | mkdir /sanscratch / | ||
chmod ugo+rwx /sanscratch / | chmod ugo+rwx /sanscratch / | ||
chmod o+t /sanscratch / | chmod o+t /sanscratch / | ||
+ | # exx96 | ||
# link localscratch in 1.4T /home to / | # link localscratch in 1.4T /home to / | ||
- | mkdir /home | + | |
- | cd /home # local dir | + | cd /home |
ln -s / | ln -s / | ||
ln -s / | ln -s / | ||
ln -s / | ln -s / | ||
- | ln -s /zfshomes | + | |
+ | cat / | ||
# fstab file mounts | # fstab file mounts | ||
+ | mkdir -p /zfshomes /home66 /home33 /mindstore / | ||
# cottontail2 = greentail52 | # cottontail2 = greentail52 | ||
# n100-n101 = n79 | # n100-n101 = n79 | ||
- | # postfix | ||
- | dnf install postfix | ||
- | dnf install mailx | ||
- | systemctl enable postfix | ||
- | echo " | ||
# on head node / | # on head node / | ||
Line 123: | Line 111: | ||
# check | # check | ||
chronyc sources | chronyc sources | ||
+ | |||
+ | # Rocky8 | ||
+ | # https:// | ||
+ | dnf config-manager --set-enabled powertools | ||
+ | dnf install epel-release | ||
+ | dnf install netcdf netcdf-devel | ||
+ | dnf install yum-utils # yumdownloader | ||
+ | dnf install ddd | ||
+ | dnf install grace | ||
+ | dnf install gnuplot | ||
+ | dnf install alpine # pico | ||
+ | yum groupinstall " | ||
# on head node install from epel repo | # on head node install from epel repo | ||
- | yum install slurm-openlava | + | ### yum install slurm-openlava |
# error on conflicting libs, too bad! | # error on conflicting libs, too bad! | ||
Line 168: | Line 168: | ||
# compute nodes old level 3 | # compute nodes old level 3 | ||
systemctl set-default multi-user.target | systemctl set-default multi-user.target | ||
+ | |||
+ | |||
+ | # postfix | ||
+ | dnf install postfix | ||
+ | dnf install mailx | ||
+ | systemctl enable postfix | ||
+ | echo " | ||
+ | |||
+ | yum install net-snmp-utils net-snmp-libs net-snmp net-snmp-agent-libs | ||
+ | |||
+ | # edit / | ||
+ | rocommunity public | ||
+ | dontLogTCPWrappersConnects yes | ||
+ | # enable, start, add to zenoss | ||
+ | |||
# compute nodes only | # compute nodes only | ||
Line 201: | Line 216: | ||
yum install dmtcp dmtcp-devel | yum install dmtcp dmtcp-devel | ||
- | # check status of service munge | + | |
yum clean all | yum clean all | ||
Line 210: | Line 225: | ||
# now make it an ohpc compute node | # now make it an ohpc compute node | ||
yum repolist | yum repolist | ||
- | yum install ohpc-base-compute | + | |
+ | | ||
| | ||
scp cottontail2:/ | scp cottontail2:/ | ||
yum install ohpc-slurm-client | yum install ohpc-slurm-client | ||
+ | # check status of service munge | ||
systemctl enable munge | systemctl enable munge | ||
systemctl start munge | systemctl start munge | ||
Line 226: | Line 243: | ||
scp cottontail2:/ | scp cottontail2:/ | ||
scp cottontail2:/ | scp cottontail2:/ | ||
+ | scp cottontail2:/ | ||
+ | | ||
+ | # /etc/bashrc add | ||
+ | # ohpc lmod gcc mpicc | ||
+ | export PATH=/ | ||
+ | export LD_LIBRARY_PATH=/ | ||
+ | |||
+ | | ||
+ | # / | ||
+ | / | ||
+ | |||
#test | #test | ||
/ | / | ||
Line 234: | Line 262: | ||
sleep 15 | sleep 15 | ||
/ | / | ||
+ | |||
+ | |||
+ | ## edit passwd, shadow, group, hosts files ## | ||
+ | ## make -orig backups and stage in / | ||
+ | ## cottontail2 = greentail52 sections | ||
+ | |||
| | ||
# slurmd ??? | # slurmd ??? | ||
libhwloc.so.15 => / | libhwloc.so.15 => / | ||
- | # add to zenoss edit / | + | |
- | rocommunity public | + | |
- | dontLogTCPWrappersConnects yes | + | |
</ | </ | ||
Line 261: | Line 293: | ||
< | < | ||
+ | |||
+ | # First **all the necessary packages ** (yum install...) | ||
| | ||
Line 270: | Line 304: | ||
# Assume this is Linux: | # Assume this is Linux: | ||
- | # serial, do on heasd node, pull down miniconda, compile, install | + | # serial, do on head node, with miniconda |
cmake $AMBER_PREFIX/ | cmake $AMBER_PREFIX/ | ||
-DCMAKE_INSTALL_PREFIX=/ | -DCMAKE_INSTALL_PREFIX=/ | ||
Line 328: | Line 362: | ||
</ | </ | ||
+ | |||
+ | ==== Amber22 ==== | ||
+ | |||
+ | OpenHPC | ||
+ | |||
+ | < | ||
+ | |||
+ | # First **all the necessary packages ** (yum install...) | ||
+ | |||
+ | | ||
+ | 989 tar xvfj ../ | ||
+ | 993 cd amber20_src/ | ||
+ | 994 cd build/ | ||
+ | 996 vi run_cmake | ||
+ | |||
+ | # Assume this is Linux: | ||
+ | |||
+ | # serial, do on head node, with miniconda true, compile, install | ||
+ | cmake $AMBER_PREFIX/ | ||
+ | -DCMAKE_INSTALL_PREFIX=/ | ||
+ | -DCOMPILER=GNU | ||
+ | -DMPI=FALSE -DCUDA=FALSE -DINSTALL_TESTS=TRUE \ | ||
+ | -DDOWNLOAD_MINICONDA=TRUE \ | ||
+ | 2>&1 | tee cmake.log | ||
+ | ./run_cmake | ||
+ | make install | ||
+ | |||
+ | |||
+ | # Note !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
+ | The OpenMPI and MPICH system installations provided by CentOS | ||
+ | (i.e., through yum install) | ||
+ | are known to be somehow incompatible with Amber22. | ||
+ | # OUCH !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
+ | |||
+ | |||
+ | # GO TO node n100 | ||
+ | |||
+ | # copy head node's amber22_src/ | ||
+ | |||
+ | |||
+ | source / | ||
+ | echo $AMBERHOME | ||
+ | |||
+ | # install latest openmpi version | ||
+ | cd amber_src/ | ||
+ | tar xvfj ../ | ||
+ | |||
+ | ./ | ||
+ | |||
+ | |||
+ | # on n100 now, parallel, set | ||
+ | -MPI=TRUE | ||
+ | -DDOWNLOAD_MINICONDA=FALSE | ||
+ | ./run_cmake | ||
+ | make install | ||
+ | |||
+ | # on n100 just change cuda flag | ||
+ | |||
+ | [hmeij@n100 build]$ module load cuda/11.6 | ||
+ | [hmeij@n100 build]$ which gcc mpicc nvcc | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | [hmeij@n100 ~]$ echo $CUDA_HOME | ||
+ | / | ||
+ | |||
+ | -MPI=TRUE | ||
+ | -CUDA=TRUE | ||
+ | -DDOWNLOAD_MINICONDA=FALSE | ||
+ | ./run_cmake | ||
+ | make install | ||
+ | |||
+ | |||
+ | [hmeij@n100 ~]$ which nvcc mpicc gcc | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | |||
+ | #tests | ||
+ | cd $AMBERHOME | ||
+ | make test.serial | ||
+ | export DO_PARALLEL=" | ||
+ | make test.parallel | ||
+ | export CUDA_VISIBLE_DEVICES=0 | ||
+ | make test.cuda.serial | ||
+ | make test.cuda.parallel | ||
+ | |||
+ | </ | ||
+ | |||
**[[cluster: | **[[cluster: | ||