fermi-lat / Fermitools-conda

Conda recipe files for the Fermi Sciencetools software analysis package: Fermitools
https://fermi.gsfc.nasa.gov/ssc/data/analysis/
BSD 3-Clause "New" or "Revised" License
34 stars 17 forks source link

/bin/sh time command not found #108

Closed Ashwani-88 closed 3 years ago

Ashwani-88 commented 3 years ago

Hi, I am getting the following error when I run Fermi sciencetool likelihood analysis using python on cluster via submitting job on SLURM ( a job scheduler).

"/bin/sh time command not found"

However, when I submit a job for fermipy analysis everything works fine. Also when I run Fermi sciencetool analysis in terminal on cluster it runs without any error.

Areustle commented 3 years ago

It may be that your cluster doesn't have this standard Unix utility on all it's nodes. Time is often also provided by the shell, if you have no source providing it I expect you can install it in your fermitools conda environment by installing it from conda-forge:

conda install -n fermi -c conda-forge time

Assuming your environment is named 'fermi'

Ashwani-88 commented 3 years ago

Dear Alex, It is working now. Thanks for your help.

Regards, Ashwani Pandey

Post-doctoral Fellow Indian Institute of Astrophysics (IIA), II Block, Koramangala, Bengaluru 560 034, India Email: @., @. Mobile: +91-9808530721 Webpage: http://www.iiap.res.in/people/personnel/ashwani.pandey

On Sun, Jul 18, 2021 at 4:44 PM Alex Reustle @.***> wrote:

It may be that your cluster doesn't have this standard Unix utility on all it's nodes. Time is often also provided by the shell, if you have no source providing it I expect you can install it in your fermitools conda environment by installing it from conda-forge:

conda install -n fermi -c conda-forge time

Assuming your environment is named 'fermi'

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/fermi-lat/Fermitools-conda/issues/108#issuecomment-882040404, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARXVHOT5EBED6YDQVRZDU7DTYKZQ3ANCNFSM5ARIGFZQ .