Skip to content
Snippets Groups Projects
Commit 00ec4ceb authored by alex's avatar alex
Browse files

Moving back to recent master of losoto and newest numpy

parent 8558b949
No related branches found
No related tags found
1 merge request!135Moving back to recent master of losoto and newest numpy
Pipeline #38512 failed
...@@ -181,14 +181,14 @@ Typical reasons for which you would like to run **LINC** with a cached Singulari ...@@ -181,14 +181,14 @@ Typical reasons for which you would like to run **LINC** with a cached Singulari
* when running into a Docker pull limit. * when running into a Docker pull limit.
* when compute nodes do not have an outbound connection to the internet or any similar firewall restrictions. * when compute nodes do not have an outbound connection to the internet or any similar firewall restrictions.
In such cases you need to set a special CWL environment variable to make use of it: In such cases you need to set a special CWL environment variable to make use of it::
$ export CWL_SINGULARITY_CACHE=<cachedir> $ export CWL_SINGULARITY_CACHE=<cachedir>
$ export SINGULARITY_TMPDIR=<cachedir>/tmp $ export SINGULARITY_TMPDIR=<cachedir>/tmp
where ``<cachedir>`` is your chosen location of the Singularity image. When running **LINC**, the location of the ``<cachedir>`` should be visible from all compute nodes or machines you want to use. Once set simply restart your pipeline with ``--singularity`` and the image should be put into the right directory and be used for all steps. where ``<cachedir>`` is your chosen location of the Singularity image. When running **LINC**, the location of the ``<cachedir>`` should be visible from all compute nodes or machines you want to use. Once set simply restart your pipeline with ``--singularity`` and the image should be put into the right directory and be used for all steps.
Setting ``$SINGULARITY_TMPDIR`` is optional and avoids temporary mounting of the images in your ``/tmp``-directory. This is particularly helpful if your ``/tmp``-directory does not have much disk space. Setting ``$SINGULARITY_TMPDIR`` is optional and avoids temporary mounting of the images in your ``/tmp``-directory. This is particularly helpful if your ``/tmp``-directory does not have much disk space.
If you need to update your **LINC** Singularity image, simply remove the ``astronrd_linc.sif`` file in your ``<cachedir>`` and clean the Singularity cache: If you need to update your **LINC** Singularity image, simply remove the ``astronrd_linc.sif`` file in your ``<cachedir>`` and clean the Singularity cache::
$ singularity cache clean $ singularity cache clean
......
...@@ -35,8 +35,8 @@ setup( ...@@ -35,8 +35,8 @@ setup(
'Topic :: Scientific/Engineering :: Astronomy'], 'Topic :: Scientific/Engineering :: Astronomy'],
platforms='any', platforms='any',
install_requires=[ install_requires=[
'aplpy', 'astropy', 'bdsf', 'h5py', 'losoto==2.2.1', 'lsmtool', 'aplpy', 'astropy', 'bdsf', 'h5py', 'losoto', 'lsmtool',
'matplotlib', 'numpy<1.23.0', 'python-casacore', 'RMextract', 'scipy'], 'matplotlib', 'numpy', 'python-casacore', 'RMextract', 'scipy'],
scripts=glob.glob('scripts/*'), scripts=glob.glob('scripts/*'),
data_files=data_files, data_files=data_files,
# explicitly declare packages so setuptools does not attempt auto discovery # explicitly declare packages so setuptools does not attempt auto discovery
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment