You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$makenek clean doesn't delete the unpacked versions of parRSB and gslib. When parRSB, for example, is updated, the user needs to manually delete the Nek5000/3rd_party/parRSB/parRSB directory for the new version to be downloaded and installed. The install script only checks for the existence of the tool subdirectory when deciding if it needs to download a new tarball, not whether it is the correct version. We could tag the subdirectory with the version number to make sure it's always consistent with the version of Nek. Something like:
#!/bin/bash
set -e
VER=0.9.2
if [ "$1" == "clean" ]; then
rm -rf parRSB_v$VER/build lib include 2>/dev/null
exit 0
fi
if [ -f ./lib/libparRSB.a ]; then
exit 0
fi
if [ ! -d ./parRSB_v$VER ]; then
rm -rf ./parRSB* 2>/dev/null #delete any version that might already exist
wget --no-check-certificate -O v$VER.tar.gz https://github.com/Nek5000/parRSB/archive/v$VER.tar.gz
mkdir parRSB_v$VER
tar -zxvf v$VER.tar.gz -C ./parRSB_v$VER --strip-components=1
fi
cd parRSB_v$VER
set -x
make lib install $PARRSB_OPT
set +x
The text was updated successfully, but these errors were encountered:
$makenek clean
doesn't delete the unpacked versions of parRSB and gslib. When parRSB, for example, is updated, the user needs to manually delete theNek5000/3rd_party/parRSB/parRSB
directory for the new version to be downloaded and installed. Theinstall
script only checks for the existence of the tool subdirectory when deciding if it needs to download a new tarball, not whether it is the correct version. We could tag the subdirectory with the version number to make sure it's always consistent with the version of Nek. Something like:The text was updated successfully, but these errors were encountered: