Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

set noclobber interferes with FCC sw setup #397

Open
cleonido opened this issue Sep 10, 2020 · 1 comment
Open

set noclobber interferes with FCC sw setup #397

cleonido opened this issue Sep 10, 2020 · 1 comment

Comments

@cleonido
Copy link

I noticed that unless I comment out the "set noclobber" command in my ~/.bashrc file, the source /cvmfs/fcc.cern.ch/sw/latest/setup.sh command does not succeed, giving me a generic (non) error (*).

The setup.sh script works fine if I remove the "set noclobber" command.

--Christos

(*)

-bash-4.2$ source /cvmfs/fcc.cern.ch/sw/latest/setup.sh
Usage: source setup-all.sh [OPTION]
Prepare the environment to use FCCSW together with the FCC Externals

Options:
   -c, --compiler COMPILER       Source the environment for the specified compiler
   -e, --externals VERSION       Source a given version of the FCC Externals

Examples:
source setup.sh         # Uses the default values, gcc8 compiler and LCG_96b (96b.0.0)
source setup.sh -c gcc9         # Uses the default of LCG Release for gcc9
source setup.sh -c gcc62 -e 94.2.0      # Sets gcc62 and FCC Externals 94.2.0

-bash-4.2$ which fccrun
/usr/bin/which: no fccrun in (/afs/cern.ch/atlas/scripts:/usr/sue/bin:/usr/lib64/qt-3.3/bin:/usr/condabin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/opt/puppetlabs/bin)
-bash-4.2$
@vvolkl
Copy link
Member

vvolkl commented Sep 11, 2020

Hi @cleonido, thanks for this report! I'm not entirely sure which part of the script is not compatible with noclobber, but we are anyway in the process of switching to a spack-based build system, which generates a different type of setup script, based on environment-modules. This new setup file works even with the noclobber option turned on. I'll close this as soon as we are fully switched.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants