Skip to content

Commit 2b4405d

Browse files
committed
Switch to ncftpget to download casacore measures
1 parent 250a800 commit 2b4405d

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

singularity/Singularity.amd_aocl

+3-2
Original file line numberDiff line numberDiff line change
@@ -304,8 +304,9 @@ From: fedora:40
304304
cd $INSTALLDIR/casacore
305305
git clone https://github.com/casacore/casacore.git src
306306
cd ${INSTALLDIR}/casacore/src && git checkout tags/${CASACORE_VERSION} && echo export CASACORE_VERSION=$(git rev-parse --short HEAD) >> $INSTALLDIR/init.sh
307-
cd ${INSTALLDIR}/casacore/data && wget --progress=bar:force:noscroll --retry-connrefused ftp://anonymous@ftp.astron.nl/outgoing/Measures/WSRT_Measures.ztar
308-
cd ${INSTALLDIR}/casacore/data && tar xf WSRT_Measures.ztar && rm WSRT_Measures.ztar
307+
cd ${INSTALLDIR}/casacore/data
308+
ncftpget ftp://anonymous@ftp.astron.nl/outgoing/Measures/WSRT_Measures.ztar
309+
tar xf WSRT_Measures.ztar && rm WSRT_Measures.ztar
309310
cd ${INSTALLDIR}/casacore/build
310311
cmake $CMAKE_ADD_OPTION \
311312
-DCMAKE_INSTALL_PREFIX=${INSTALLDIR}/casacore/ \

singularity/Singularity.intel_mkl

+3-2
Original file line numberDiff line numberDiff line change
@@ -277,8 +277,9 @@ EOF
277277
cd $INSTALLDIR/casacore
278278
git clone https://github.com/casacore/casacore.git src
279279
cd ${INSTALLDIR}/casacore/src && git checkout tags/${CASACORE_VERSION} && echo export CASACORE_VERSION=$(git rev-parse --short HEAD) >> $INSTALLDIR/init.sh
280-
cd ${INSTALLDIR}/casacore/data && wget --progress=bar:force:noscroll --retry-connrefused ftp://anonymous@ftp.astron.nl/outgoing/Measures/WSRT_Measures.ztar
281-
cd ${INSTALLDIR}/casacore/data && tar xf WSRT_Measures.ztar && rm WSRT_Measures.ztar
280+
cd ${INSTALLDIR}/casacore/data
281+
ncftpget ftp://anonymous@ftp.astron.nl/outgoing/Measures/WSRT_Measures.ztar
282+
tar xf WSRT_Measures.ztar && rm WSRT_Measures.ztar
282283
cd ${INSTALLDIR}/casacore/build
283284
cmake $CMAKE_ADD_OPTION \
284285
-DCMAKE_INSTALL_PREFIX=${INSTALLDIR}/casacore/ \

0 commit comments

Comments
 (0)