{"id":397,"date":"2013-06-18T18:58:38","date_gmt":"2013-06-18T16:58:38","guid":{"rendered":"http:\/\/astronomy.lamost.org\/blog\/?p=397"},"modified":"2013-06-18T19:03:15","modified_gmt":"2013-06-18T17:03:15","slug":"lal-%e5%ad%a6%e4%b9%a0","status":"publish","type":"post","link":"http:\/\/astronomy.lamost.org\/blog\/?p=397","title":{"rendered":"LAL \u5b66\u4e60"},"content":{"rendered":"<p>LAL \u5b66\u4e60<br \/>\nhttps:\/\/www.lsc-group.phys.uwm.edu\/daswg\/projects\/lalsuite.html<\/p>\n<p>LAAC Data Analysis Training<br \/>\nLALSuite<br \/>\ninstalling LAL and LALApps<br \/>\nLALSuite Git<br \/>\nLALSuite is comprised of the following components<br \/>\nLAL: Core gravitational wave analysis routines<br \/>\nLALFrame: LAL wrapping of the LIGO\/Virgo Frame library<br \/>\nLALMetaIO:LAL wrapping of the MetaIO LIGO_LW XML library<br \/>\nLALXML:LAL wrapping of the libxml2 XML library, currently unused<br \/>\nLALSimulation:LAL routines for gravitational waveform and noise generation<br \/>\nLALBurst:LAL routines for burst gravitational wave data analysis<br \/>\nLALInspiral:LAL routines for inspiral and ringdown CBC gravitational wave data analysis<br \/>\nLALPulsar:LAL routines for pulsar and continuous wave gravitational wave data analysis<br \/>\nLALInference:LAL routines for Bayesian inference data analysis<br \/>\nLALStochastic:LAL routines for stochastic background gravitational wave data analysis<br \/>\nLALApps: Collection of gravitational wave data analysis codes and pipelines utilising the LAL libraries<\/p>\n<p>cbc code \u6267\u884c\u547d\u4ee4<br \/>\nhttps:\/\/www.lsc-group.phys.uwm.edu\/ligovirgo\/cbcnote\/BayesianReview\/InspnestDocs<\/p>\n<p>universe = standard<br \/>\nexecutable = lalapps_inspnest<br \/>\narguments = &#8221; -i LALLIGO -I H1 -C test &#8211;inj test_injection.xml -o test_0.dat &#8211;srate 2048 &#8211;Nsegs 10 &#8211;length 100 &#8211;Nlive 1000 &#8211;Nmcmc 200 &#8211;verbose&#8221;<br \/>\nerror = lalapps_inspnest$(Process).err<br \/>\noutput = lalapps_inspnest$(Process).out<br \/>\nlog = mycode.log<br \/>\nnotification = never<br \/>\nqueue<\/p>\n<p>\u5b89\u88c5 LALSuite<br \/>\nhttps:\/\/www.lsc-group.phys.uwm.edu\/daswg\/docs\/howto\/lal-install.html<br \/>\n\u67d0\u673a\u5668\u4e0a\u7b2c\u4e00\u6b21\u5b89\u88c5<br \/>\n\u5148\u5b89\u88c5\u6709\u4e00\u4e9b\u522b\u7684\u8f6f\u4ef6\u786e\u4fddLALSuite\u5b89\u88c5<br \/>\n\u5fc5\u987b\u6709\u4e9b\u624b\u52a8\u64cd\u4f5c\u8bbe\u7f6e\u00a0\u00a0\u00a0 To setup your environment to use the newly-built LAL<br \/>\n\u5206\u522b\u5b89\u88c5LALSuite \u91cc\u9762\u7684\u6bcf\u4e2a\u5305\u00a0 (\u987a\u5e8f\u548c\u7f51\u7ad9\u4e0a\u8bf4\u7684\u4e0d\u540c\u6709\u65f6\u9700\u8981\u4e0d\u540c\uff0c\u56e0\u4e3a\u5305\u7684\u4f9d\u8d56\u95ee\u9898\uff0c\u8981\u6709\u8010\u5fc3\u6d4b\u8bd5\u3002\u3002\u3002)<br \/>\nLAL<br \/>\nLALFrame<br \/>\nLALMetalO<br \/>\nLAMXML<br \/>\nLALSimulation<br \/>\nLALBurst<br \/>\nLALPulsar<br \/>\nLALInspiral<br \/>\nLALInference<br \/>\nLALApps\u00a0\u00a0 \u5982\u679c\u4e0d\u662f\u9700\u8981\u8fdc\u7a0b\u767b\u9646\u672c\u673a\u5668\u64cd\u4f5c\uff0c \u5c31\u4e0d\u7528\u00a0 &#8211;enable-condor<\/p>\n<p>\u6700\u540e \u522b\u5fd8\u4e86 \u628a source ${LSCSOFT_ROOTDIR}\/etc\/lscsoftrc \u52a0\u5230\u00a0\u00a0\u00a0\u00a0 .bash_profile\u00a0 \u91cc\u9762\uff01<\/p>\n<p>\u5b89\u88c5LALSuite\u00a0 note\u00a0 from Matt<br \/>\ncloned the lalsuite directory (e.g. using &#8220;git clone xilong.fan@ligo-vcs.phys.uwm.edu:\/usr\/local\/git\/lalsuite.git&#8221;)<br \/>\ninstalled all the parts of lalsuite (lal, lalmetaio, lalxml,lalsimulation, lalinspiral, lalburst, lalpulsar, lalstochastic, lalinference)<br \/>\nchecked-out the lalinference_burst branch using &#8220;git branch &#8211;track lalinference_burst origin\/lalinference_burst&#8221;<br \/>\ngit checkout lalinference_burst<\/p>\n<p>&#8211;If that&#8217;s what you&#8217;ve done then you should currently be in the lalinference_burst branch. You can check what branch you&#8217;re in by typing &#8220;git branch&#8221; and it will list the branches &#8211; there will be a * next to the name of the branch that you are in.<br \/>\n&#8211;If you want to run codes that have been developed in this branch then you should probably reinstalled all of lalsuite from this branch. So, you should perform &#8220;make uninstall&#8221; and &#8220;make distclean&#8221; in all the parts of lalsuite, and then reinstall all of them.<\/p>\n<p><strong>Note: Having the release versions of LALSuite installed from MacPorts will lead to build errors if you try and build LALSuite from the git repository. If you are planning on building LALSuite from git do not installed these ports.<\/strong><\/p>\n<p>\u5982\u679c\u5b89\u88c5\u4e86\u600e\u4e48\u529e\uff1f<br \/>\n\u5378\u8f7d\uff01<\/p>\n<p>fantekiMacBook-Pro:~ fanf$ sudo port uninstall lalapps<br \/>\nfantekiMacBook-Pro:~ fanf$ sudo port uninstall LALStochastic<br \/>\nsudo port uninstall LALApps<br \/>\nsudo port uninstall LALInference<br \/>\nsudo port uninstall LALStochastic<br \/>\nsudo port uninstall LALInspiral<br \/>\nsudo port uninstall LALPulsar<br \/>\nsudo port uninstall LALBurst<br \/>\nsudo port uninstall LALSimulation<br \/>\nsudo port uninstall LALMetaiO<br \/>\nsudo port uninstall LALXML<br \/>\nsudo port uninstall LALFrame<br \/>\nsudo port uninstall LAL<\/p>\n","protected":false},"excerpt":{"rendered":"<p>LAL \u5b66\u4e60 https:\/\/www.lsc-group.phys.uwm.edu\/daswg\/project&#8230;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[21],"tags":[],"class_list":["post-397","post","type-post","status-publish","format-standard","hentry","category-21"],"_links":{"self":[{"href":"http:\/\/astronomy.lamost.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/397","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/astronomy.lamost.org\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/astronomy.lamost.org\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/astronomy.lamost.org\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/astronomy.lamost.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=397"}],"version-history":[{"count":6,"href":"http:\/\/astronomy.lamost.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/397\/revisions"}],"predecessor-version":[{"id":403,"href":"http:\/\/astronomy.lamost.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/397\/revisions\/403"}],"wp:attachment":[{"href":"http:\/\/astronomy.lamost.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=397"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/astronomy.lamost.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=397"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/astronomy.lamost.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=397"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}