Have trouble running the Fermi software on ubuntu terminal

8 replies · 2K views · last reply
majormuss
Messages
124
Reaction score
4
Hi all,
I recently installed ubuntu on my pc and I am trying to run the Fermi software provided by NASA (http://fermi.gsfc.nasa.gov/ssc/data/analysis/software/). I believe I did all the installation steps right but I am having trouble starting the software. If you are familiar with this software and know how to run it please let me know! What do I do after the last step in the installation procedure? I cannot find any executable files from the installation folder. Please help!
 
What kind of trouble is it exactly?
Give me a list of subdirectories in the installation directory.
Also you should notice that it may be a command line software with no GUI.
 
Last edited:
Shyan said:
What kind of trouble is it exactly?
Give me a list of subdirectories in the installation directory.
Also you should notice that it may be a command line software with no GUI.
I ran the installation according to the directions on the website and I sourced it. I am not sure what to do next in order to run the software and access the Fermi data. I attached a picture of where I am. After I choose yes for sourcing, nothing followed. My problem is that I don't know what is next.
 
Attachments
  • Screenshot of an Ubuntu terminal showing a session where fermi-init.sh is sourced, with a warning that HEADAS should be set first and a prompt asking whether to proceed with sourcing.
    Screenshot from 2015-06-09 13:02:19.png
    22.5 KB · Views: 510
majormuss said:
I ran the installation according to the directions on the website and I sourced it. I am not sure what to do next in order to run the software and access the Fermi data. I attached a picture of where I am. After I choose yes for sourcing, nothing followed. My problem is that I don't know what is next.
It seems this is a command line software. Anything needed to run the software, should be inside that bin subdirectory. Usually a file named the same as the name of the software. But if you couldn't find it, just give me a list of the files in that subdirectory.
 
Thanks, this is a list of the files in the 'bin' sub-directory. I uploaded pictures of it.
 
Attachments
  • GNOME Files window showing the contents of the bin folder under fermi_science_tools, with many executable files (gtexpcube, gtlike, h2root, hadd, pget, python, pydoc and others) shown as icons with names beneath.
    Screenshot from 2015-06-10 09:15:53.png
    75.1 KB · Views: 484
  • Ubuntu file manager window showing the bin folder of fermi_science_tools filled with executable files and scripts such as python, root, runPy, rootcint, test_flux and test_likelihood, with several Python-icon files.
    Screenshot from 2015-06-10 09:16:06.png
    79.2 KB · Views: 553
  • Screenshot of a GNOME Files window listing the contents of the bin folder under fermi_science_tools, showing executable files such as test_astro, test_flux, wish, xpaset and thisroot.csh.
    Screenshot from 2015-06-10 09:16:15.png
    51.9 KB · Views: 508
None of them seem to be what you want!
Anyway, from the path, it seems to me we're not in the right place. Is there a bin directory directly under "fermi_science_tools"?
 
Shyan said:
None of them seem to be what you want!
Anyway, from the path, it seems to me we're not in the right place. Is there a bin directory directly under "fermi_science_tools"?
This is the directory to the BUILD_DIR folder. I took a screenshot of each folder and files till the BUILD_DIR.
 
Attachments
  • Ubuntu file manager window at the home folder showing folders Desktop, Documents, Downloads, fermi_science_tools (selected), Music, pfiles, Pictures, Public, Templates, Videos, Examples and a file missfont.log.
    Screenshot from 2015-06-10 12:47:07.png
    51.7 KB · Views: 525
  • Ubuntu GNOME Files window showing the folder fermi_science_tools, with a single orange folder named x86_64-unknown-linux-gnu-libc2.15-0 inside, the current path shown in the breadcrumb bar.
    Screenshot from 2015-06-10 12:47:15.png
    16.3 KB · Views: 506
  • File manager window on Ubuntu showing the contents of the x86_64-unknown-linux-gnu-libc2.15-0 folder, with subfolders bin, build, BUILD_DIR, cint, etc, fonts, help, icons, include, lib, macros, man, refdata, share, syspfiles, test, tutorials and xml, plus files config.out, fermi-init.csh and fermi-init.sh.
    Screenshot from 2015-06-10 12:47:22.png
    52.5 KB · Views: 534
  • Ubuntu file manager window showing the contents of the BUILD_DIR folder, with folders named binary and CVS and many files including configure, Makefile, hd_install.c, and README_SOURCE_INSTALL_FERMI.
    Screenshot from 2015-06-10 12:47:33.png
    60.7 KB · Views: 476
OK, I now get it. If you look at this page, you can see that several tools are explained. This software package actually has no single file to work with. Each of the tools inside it has its own file and all of them are in that bin directory.
 
The NASA page is down for me at the moment so I can't see the instructions.

When you killed it, how long was it hanging for? Were you seeing CPU or disk activity? Assuming this is scientific computation, sometimes programs of this type can hours.

Normally on Ubuntu you would build from source by running

./configure
make
make install

The 'source' command runs a script in the current shell so likely they want you to run that script. You might want to look at the contents of that script.

I would need to see their instructions. Can you post those as their site is timing out?