Skip to content

Commit d6f588c

Browse files
authoredDec 6, 2023
update lalsimulation cvmfs path (gwastro#4580)
* update lalsimulation cvmfs path * missed that the mount location needs to be changed as well * more references to previsou CVMFS location
1 parent bc6e864 commit d6f588c

7 files changed

+13
-13
lines changed
 

‎Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ RUN dnf -y install https://ecsft.cern.ch/dist/cvmfs/cvmfs-release/cvmfs-release-
1515

1616
# set up environment
1717
RUN cd / && \
18-
mkdir -p /cvmfs/config-osg.opensciencegrid.org /cvmfs/oasis.opensciencegrid.org /cvmfs/gwosc.osgstorage.org && echo "config-osg.opensciencegrid.org /cvmfs/config-osg.opensciencegrid.org cvmfs ro,noauto 0 0" >> /etc/fstab && echo "oasis.opensciencegrid.org /cvmfs/oasis.opensciencegrid.org cvmfs ro,noauto 0 0" >> /etc/fstab && echo "gwosc.osgstorage.org /cvmfs/gwosc.osgstorage.org cvmfs ro,noauto 0 0" >> /etc/fstab && mkdir -p /oasis /scratch /projects /usr/lib64/slurm /var/run/munge && \
18+
mkdir -p /cvmfs/config-osg.opensciencegrid.org /cvmfs/software.igwn.org /cvmfs/gwosc.osgstorage.org && echo "config-osg.opensciencegrid.org /cvmfs/config-osg.opensciencegrid.org cvmfs ro,noauto 0 0" >> /etc/fstab && echo "software.igwn.org /cvmfs/software.igwn.org cvmfs ro,noauto 0 0" >> /etc/fstab && echo "gwosc.osgstorage.org /cvmfs/gwosc.osgstorage.org cvmfs ro,noauto 0 0" >> /etc/fstab && mkdir -p /oasis /scratch /projects /usr/lib64/slurm /var/run/munge && \
1919
groupadd -g 1000 pycbc && useradd -u 1000 -g 1000 -d /opt/pycbc -k /etc/skel -m -s /bin/bash pycbc
2020

2121
# Install MPI software needed for pycbc_inference
@@ -37,7 +37,7 @@ ENV PATH "/usr/local/bin:/usr/bin:/bin:/lib64/openmpi/bin/bin"
3737
# Set the default LAL_DATA_PATH to point at CVMFS first, then the container.
3838
# Users wanting it to point elsewhere should start docker using:
3939
# docker <cmd> -e LAL_DATA_PATH="/my/new/path"
40-
ENV LAL_DATA_PATH "/cvmfs/oasis.opensciencegrid.org/ligo/sw/pycbc/lalsuite-extra/current/share/lalsimulation:/opt/pycbc/pycbc-software/share/lal-data"
40+
ENV LAL_DATA_PATH "/cvmfs/software.igwn.org/pycbc/lalsuite-extra/current/share/lalsimulation:/opt/pycbc/pycbc-software/share/lal-data"
4141

4242
# When the container is started with
4343
# docker run -it pycbc/pycbc-el8:latest

‎docker/etc/docker-install.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ mkdir -p /opt/pycbc/src
1111
cp -a /scratch /opt/pycbc/src/pycbc
1212
chmod a+rw /dev/fuse
1313
mount /cvmfs/config-osg.opensciencegrid.org
14-
mount /cvmfs/oasis.opensciencegrid.org
14+
mount /cvmfs/software.igwn.org
1515
mkdir -p /opt/pycbc/pycbc-software/share/lal-data
16-
rsync --exclude='SEOBNRv1ROM*' --exclude='SEOBNRv2ROM_DS_HI_v1.0.hdf5' --exclude='NRSur4d2s_FDROM.hdf5' -ravz /cvmfs/oasis.opensciencegrid.org/ligo/sw/pycbc/lalsuite-extra/current/share/lalsimulation/ /opt/pycbc/pycbc-software/share/lal-data/
16+
rsync --exclude='SEOBNRv1ROM*' --exclude='SEOBNRv2ROM_DS_HI_v1.0.hdf5' --exclude='NRSur4d2s_FDROM.hdf5' -ravz /cvmfs/software.igwn.org/pycbc/lalsuite-extra/current/share/lalsimulation/ /opt/pycbc/pycbc-software/share/lal-data/
1717
umount /cvmfs/config-osg.opensciencegrid.org
18-
umount /cvmfs/oasis.opensciencegrid.org
18+
umount /cvmfs/software.igwn.org
1919
chown -R 1000:1000 /opt/pycbc/src /opt/pycbc/pycbc-software
2020
chmod -R u=rwX,g=rX,o=rX /opt/pycbc
2121
exit 0

‎docs/building_bundled_executables.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ The script executes ``pycbc_inspiral`` as part of the build process. This may
9696
require LAL data at build time. The LAL data can be given with the command
9797
line argument::
9898
99-
--with-lal-data-path=/cvmfs/oasis.opensciencegrid.org/ligo/sw/pycbc/lalsuite-extra/current/share/lalsimulation
99+
--with-lal-data-path=/cvmfs/software.igwn.org/pycbc/lalsuite-extra/current/share/lalsimulation
100100

101101
The default command line arguments clone PyCBC from the standard GitHub
102102
repository. If you would like to build a bundle using code from your own
@@ -130,6 +130,6 @@ Building Releases for CVMFS
130130
To build a release of ``pycbc_inspiral`` for installation in CVMFS, run the
131131
script with the arguments::
132132

133-
pycbc_build_eah.sh --lalsuite-commit=a3a5a476d33f169b8749e2840c306a48df63c936 --pycbc-commit=b68832784969a47fe2658abffb3888ee06cd1be4 --with-extra-libs=file:///home/pycbc/build/composer_xe_2015.0.090.tar.gz --with-lal-data-path=/cvmfs/oasis.opensciencegrid.org/ligo/sw/pycbc/lalsuite-extra/current/share/lalsimulation
133+
pycbc_build_eah.sh --lalsuite-commit=a3a5a476d33f169b8749e2840c306a48df63c936 --pycbc-commit=b68832784969a47fe2658abffb3888ee06cd1be4 --with-extra-libs=file:///home/pycbc/build/composer_xe_2015.0.090.tar.gz --with-lal-data-path=/cvmfs/software.igwn.org/pycbc/lalsuite-extra/current/share/lalsimulation
134134

135135
changing the ``--lalsuite-commit``, ``--pycbc-commit``, and ``--with-lal-data-path`` options to the values for the release.

‎docs/install.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -70,12 +70,12 @@ available in a 'IGWN Conda' environment. To see what environments are available
7070
7171
This should yield ``igwn-py37`` as one choice. The output of this command will also
7272
tell you the location of the environment in the file system. Then, the location of the
73-
python3.7 executable is for instance ``/cvmfs/oasis.opensciencegrid.org/ligo/sw/conda/envs/igwn-py37/bin/python``
73+
python3.7 executable is for instance ``/cvmfs/software.igwn.org/conda/envs/igwn-py37/bin/python``
7474
and you will create the virtualenv via the command
7575

7676
.. code-block:: bash
7777
78-
virtualenv -p /cvmfs/oasis.opensciencegrid.org/ligo/sw/conda/envs/igwn-py37/bin/python env
78+
virtualenv -p /cvmfs/software.igwn.org/conda/envs/igwn-py37/bin/python env
7979
8080
Once the virtualenv has been created you can install PyCBC from PyPI or a local
8181
copy with the `[igwn]` extra specifier to install the optional extra requirements

‎docs/install_lalsuite.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ run the command
146146

147147
.. code-block:: bash
148148
149-
echo 'export LAL_DATA_PATH=/cvmfs/oasis.opensciencegrid.org/ligo/sw/pycbc/lalsuite-extra/current/share/lalsimulation' >> $VIRTUAL_ENV/bin/activate
149+
echo 'export LAL_DATA_PATH=/cvmfs/software.igwn.org/pycbc/lalsuite-extra/current/share/lalsimulation' >> $VIRTUAL_ENV/bin/activate
150150
151151
to add the appropriate path to your virtual environment's ``activate`` script.
152152
Then deactivate and activate your virtual environment.

‎docs/workflow/pycbc_make_offline_search_workflow.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -987,8 +987,8 @@ locations in CVMFS.
987987
You will also need to specify where the code should get the data needed to generate reduced
988988
order model waveforms. To do this add the following additional arguments to ``pycbc_submit_dax``::
989989

990-
--append-site-profile 'local:env|LAL_DATA_PATH:/cvmfs/oasis.opensciencegrid.org/ligo/sw/pycbc/lalsuite-extra/current/share/lalsimulation' \
991-
--append-site-profile 'osg:env|LAL_DATA_PATH:/cvmfs/oasis.opensciencegrid.org/ligo/sw/pycbc/lalsuite-extra/current/share/lalsimulation' \
990+
--append-site-profile 'local:env|LAL_DATA_PATH:/cvmfs/software.igwn.org/pycbc/lalsuite-extra/current/share/lalsimulation' \
991+
--append-site-profile 'osg:env|LAL_DATA_PATH:/cvmfs/software.igwn.org/pycbc/lalsuite-extra/current/share/lalsimulation' \
992992

993993
Here, ``current`` is a symbolic link to the latest version of the data and can be replaced with a
994994
specific release (e.g. ``e02dab8c``) if required.

‎tools/cvmfs-default.local

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
CVMFS_USER=cvmfs
2-
CVMFS_REPOSITORIES=config-osg.opensciencegrid.org,oasis.opensciencegrid.org,gwosc.osgstorage.org
2+
CVMFS_REPOSITORIES=config-osg.opensciencegrid.org,software.igwn.org,gwosc.osgstorage.org
33
CVMFS_QUOTA_LIMIT=5000
44
CVMFS_HTTP_PROXY=DIRECT
55
CVMFS_MAX_RETRIES=10

0 commit comments

Comments
 (0)
Please sign in to comment.