[Clas_lmd] Running the Kinematic Fitter on Mac OSX

Michael C. Kunkel mkunkel at jlab.org
Mon Mar 16 19:20:40 EDT 2015


Greetings,

I have solved the issue of compiling the fitter on Mac with 64-bit 
processor (OSX 10.8 and up). Please use clang++ and not g++.

If they install gfortran from a package manager like Homebrew, they need 
to export their LD_LIBRARY=pathtogfortran
Then everything will compile correctly. If you installed gfortran with 
binaries that installed in your usr/bin, then everything should compile.

I am attaching what the Makefile looks like. This was tested on Yosemite 
OSX 10.10, gfortran installed via homebrew, and also ROOT installed from 
source and also tested with ROOT installed via Homebrew. Also test on 
Mountain Lion OXS 10.8 with gfortran installed from 
http://hpc.sourceforge.net/ and ROOT installed from source.

Hope this helps.

BR
MK
----------------------------------------
Michael C. Kunkel, PhD
Forschungszentrum Jülich
Nuclear Physics Institute and Juelich Center for Hadron Physics
Experimental Hadron Structure (IKP-1)
www.fz-juelich.de/ikp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/applefile
Size: 1482 bytes
Desc: not available
Url : https://mailman.jlab.org/pipermail/clas_lmd/attachments/20150317/6d1f5e10/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Makefile
Type: application/octet-stream
Size: 1684 bytes
Desc: not available
Url : https://mailman.jlab.org/pipermail/clas_lmd/attachments/20150317/6d1f5e10/attachment.obj 


More information about the Clas_lmd mailing list