科学网

 找回密码
  注册

tag 标签: Fermitools

相关帖子

版块 作者 回复/查看 最后发表

没有相关内容

相关日志

Fermi Science Tools在Ubuntu 16.04 LTS的安装
zhangyanyun 2019-12-24 10:11
1. 准备: Ubuntu16.04: http://cdimage.ubuntu.com/lubuntu/releases/16.04/ FSTs v11r5p3: https://fermi.gsfc.nasa.gov/ssc/data/analysis/software/v11r5p3.html 2. 测试:(U为我的用户名) $ sudo apt-get install build-essential $sudo apt-get update $sudo apt-get upgrade $ cd~/Public/ScienceTools-v11r5p3-fssc-20180124-x86_64-unknown-linux-gnu-libc2.23/x86_64-unknown-linux-gnu-libc2.23 $ ls bin BUILD_DIR fermi-init.csh fermi-init.sh help include lib man refdata share syspfiles xml $export FERMI_DIR=`pwd` $source $FERMI_DIR/fermi-init.sh $ gtselect gtselect: error while loading shared libraries: libtinfo.so.6: cannot open shared object file: No such file or directory $ls /lib/x86_64-linux-gnu/libti* /lib/x86_64-linux-gnu/libtinfo.so.5 /lib/x86_64-linux-gnu/libtinfo.so.5.9 $sudo ln -s /lib/x86_64-linux-gnu/libtinfo.so.5.9 /lib/x86_64-linux-gnu/libtinfo.so.6 $ gtselect gtselect: error while loading shared libraries: libncurses.so.6: cannot open shared object file: No such file or directory $ls /lib/x86_64-linux-gnu/libnc* /lib/x86_64-linux-gnu/libncurses.so.5 /lib/x86_64-linux-gnu/libncursesw.so.5 /lib/x86_64-linux-gnu/libncurses.so.5.9 /lib/x86_64-linux-gnu/libncursesw.so.5.9 $sudo ln -s /lib/x86_64-linux-gnu/libncurses.so.5.9 /lib/x86_64-linux-gnu/libncurses.so.6 $ geselect Input FT1 file $ echoexportFERMI_DIR=$FERMI_DIR~/.bashrc $ echosource$FERMI_DIR/fermi-init.sh~/.bashrc $ tail ~/.bashrc 4. 补充: $ cd ~/Data $ ls *xml.py make3FGLxml.py $./make3FGLxml.py gll_psc_v16.fit Geminga_gti.fits -o Geminga_input.xml -G gll_iem_v06.fits -g gll_iem_v06 -I iso_P8R2_SOURCE_V6_v06.txt -i iso_P8R2_SOURCE_V6_v06 -e ./Extended_archive_v15/Templates/ -s 25 -p FALSE -v TRUE -r 6 -ED -ON Traceback (most recent call last): from numpy.linalg import lapack_lite, _umath_linalg ImportError: libgfortran.so.3: cannot open shared object file: No such file or directory $ls /lib/x86_64-linux-gnu/libgf* ls: cannot access '/lib/x86_64-linux-gnu/libgf*': No such file or directory $sudo apt-get install libgfortran3:amd64 $ls /lib/x86_64-linux-gnu/libgf* ls: cannot access '/lib/x86_64-linux-gnu/libgf*': No such file or directory $ls /usr/lib/x86_64-linux-gnu/libgf* /usr/lib/x86_64-linux-gnu/libgfortran.so.3 /usr/lib/x86_64-linux-gnu/libgfortran.so.3.0.0 $./make3FGLxml.py gll_psc_v16.fit Geminga_gti.fits -o Geminga_input.xml -G gll_iem_v06.fits -g gll_iem_v06 -I iso_P8R2_SOURCE_V6_v06.txt -i iso_P8R2_SOURCE_V6_v06 -e ./Extended_archive_v15/Templates/ -s 25 -p FALSE -v TRUE -r 6 -ED -ON This is make3FGLxml version 01r0. The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher. Creating file and adding sources from 3FGL Extended source IC443 in ROI, make sure ./Extended_archive_v15/Templates/IC443.fits is the correct path to the extended template. Extended source S 147 in ROI, make sure ./Extended_archive_v15/Templates/S147.fits is the correct path to the extended template. Added 83 point sources and 2 extended sources If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True 5. 更多: 链接1: https://github.com/matterhorn-chat/matterhorn/issues/240 链接2: http://cta.irap.omp.eu/ctools/users/tutorials/howto/fermi/howto_fermi_prepare.html 链接3: http://bzhang.lamost.org/website/archives/fermi_analysis_spectra/ 链接4: https://forum.ubuntu.com.cn/viewtopic.php?t=474030
个人分类: 菜鸟一号|3725 次阅读|0 个评论
Fermi Science Tools 的安装
zhangyanyun 2019-12-21 23:10
1. 准备:(U为我的用户名) Heasoft安装: https://heasarc.gsfc.nasa.gov/lheasoft/ubuntu.html 下载软件: https://fermi.gsfc.nasa.gov/ssc/data/analysis/software/v10r0p5.html $sudoapt-getinstallperl-modules $ls/lib/libc-* ls:cannotaccess/lib/libc-*:Nosuchfileordirectory $mkdirHEsoftware $wgethttps://fermi.gsfc.nasa.gov/FTP/fermi/software/ScienceTools/v10r0p5/ScienceTools-v10r0p5-fssc-20150518-x86_64-unknown-linux-gnu-libc2.12A.tar.gz./HEsoftware#版本可选 2. 安装: $cd./HEsoftware $ls ScienceTools-v10r0p5-fssc-20150518-x86_64-unknown-linux-gnu-libc2.12A.tar.gz $sudochmod777*gz $tarzxvf*gz $cdScienceTools-v10r0p5-fssc-20150518-x86_64-unknown-linux-gnu-libc2.12/x86_64-unknown-linux-gnu-libc2.12/BUILD_DIR/ $sudo./configureconfigure.out 3. 检查: $lscon*.out configure.out $catconfigure.out checkingforperl5...no checkingforperl.../usr/bin/perl configure:creating./config.status config.status:creatingheadas-setup config.status:creatingfermi-setup ModifyingfhelptousePerlgivenbyLHEAPERLatruntime. ModifyinghdmktousePerlgivenbyLHEAPERLatruntime. ModifyingmemprobetousePerlgivenbyLHEAPERLatruntime. Finished 4. 测试: $cd../ $ls*.sh fermi-init.sh $exportFERMI_DIR=`pwd` $echo$FERMI_DIR /home/U/HEsoftware/ScienceTools-v10r0p5-fssc-20150518-x86_64-unknown-linux-gnu-libc2.12/x86_64-unknown-linux-gnu-libc2.12 $ $source$FERMI_DIR/fermi-init.sh $gtselect gtselect:errorwhileloadingsharedlibraries:libcrypto.so.10:cannotopensharedobjectfile:Nosuchfileordirectory 5. 设置环境变量: $echoexportFERMI_DIR=$FERMI_DIR~/.bashrc $echosource$FERMI_DIR/fermi-init.sh~/.bashrc $sudoreboot 6. 使用: 链接1: http://cta.irap.omp.eu/ctools/users/tutorials/howto/fermi/howto_fermi_prepare.html 链接2: http://bzhang.lamost.org/website/archives/fermi_analysis_spectra/
个人分类: 菜鸟一号|4015 次阅读|0 个评论

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-6-18 22:11

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部