-
Notifications
You must be signed in to change notification settings - Fork 2
On Hera, must deactivate and re-activate the venv to find the esmf-profiler #96
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
On Hera, I have to deactivate and reactivate the venv in order to find the esmf-profiler in the path:
[Rocky.Dunlap@hfe05 esmf-profiler]$ source ./venv/bin/activate.csh
[venv] [Rocky.Dunlap@hfe05 esmf-profiler]$ pip install -e .
Obtaining file:///scratch2/NCEPDEV/stmp1/Rocky.Dunlap/esmf-profiler
Installing collected packages: profiler
Running setup.py develop for profiler
Successfully installed profiler
[venv] [Rocky.Dunlap@hfe05 esmf-profiler]$ esmf-profiler
esmf-profiler: Command not found.
Note that the version (0.1.1) is not shown above, but it does show if the command is repeated:
[venv] [Rocky.Dunlap@hfe05 esmf-profiler]$ pip install -e .
Obtaining file:///scratch2/NCEPDEV/stmp1/Rocky.Dunlap/esmf-profiler
Installing collected packages: profiler
Found existing installation: profiler 0.1.1
Uninstalling profiler-0.1.1:
Successfully uninstalled profiler-0.1.1
Running setup.py develop for profiler
Successfully installed profiler
[venv] [Rocky.Dunlap@hfe05 esmf-profiler]$ esmf-profiler
esmf-profiler: Command not found.
The esmf-profiler is not found. If I deactivate/activate again, it is found:
[venv] [Rocky.Dunlap@hfe05 esmf-profiler]$ deactivate
[Rocky.Dunlap@hfe05 esmf-profiler]$ source ./venv/bin/activate.csh
[venv] [Rocky.Dunlap@hfe05 esmf-profiler]$ esmf-profiler
usage: esmf-profiler [-h] -t TRACEDIR -n NAME -o OUTDIR [-p PUSH] [-v] [-s]
esmf-profiler: error: the following arguments are required: -t/--tracedir, -n/--name, -o/--outdir
To Reproduce
Follow steps above on Hera.
Expected behavior
Ideally, the user should not need to deactivate/activate again.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working