<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div class="">Hi Satayu,</div>
<div class=""><br class="">
</div>
<div class="">Looking further into it, there are some issues with the default compiler (clang) and adding fortran using gcc (well gfortran). So what I would suggest is to just build the library yourself which seems to work ok.</div>
<div class=""><br class="">
</div>
<div class=""># Install the dependencies</div>
<div class="">brew install gcc</div>
<div class="">
<div class="">brew install cmake</div>
</div>
<div class="">
<div class="">brew install hdf5</div>
</div>
<div class="">
<div class="">brew install mxml</div>
</div>
<div class="">
<div class="">brew install hdf4</div>
</div>
<div class=""><br class="">
</div>
<div class="">Download and extract the source code <a href="https://github.com/nexusformat/code/archive/v4.4.3.tar.gz" class="">Source code (tar.gz)</a> </div>
<div class=""><br class="">
</div>
<div class="">mkdir build</div>
<div class="">cd build</div>
<div class="">cmake <location you unzipped the source code> -DCMAKE_CXX_COMPILER=g++-7 -DCMAKE_C_COMPILER=gcc-7 -DENABLE_FORTRAN90 … plus whatever other options you want (there are instructions at <a href="https://github.com/nexusformat/code/blob/master/README.rst" class="">https://github.com/nexusformat/code/blob/master/README.rst</a>)</div>
<div class=""><br class="">
</div>
<div class="">Then just “make”, “make install”…</div>
<div class=""><br class="">
</div>
<div class="">What is the application that you are trying to use ?</div>
<div class=""><br class="">
</div>
<div class="">Cheers</div>
<div class="">Stu</div>
<div class=""><br class="">
</div>
<br class="">
<div>
<blockquote type="cite" class="">
<div class="">On Jul 20, 2017, at 1:01 PM, Campbell, Stuart <<a href="mailto:scampbell@bnl.gov" class="">scampbell@bnl.gov</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div class="">Hi Satayu,</div>
<div class="">It looks like we can easily add it to the homebrew package. I’ll get back to you once I’ve tested it actually works! </div>
<div class="">Cheers</div>
<div class="">Stu</div>
<br class="">
<div class="">
<div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
—<br class="">
Dr Stuart Campbell<br class="">
Group Leader, Data Acquisition, Management and Analysis<br class="">
NSLS-II, Photon Sciences<br class="">
Brookhaven National Laboratory<br class="">
PO Box 5000 Upton, New York, 11973-5000<br class="">
<br class="">
Phone: +1 (631) 344-5578<br class="">
Email: <a href="mailto:scampbell@bnl.gov" class="">scampbell@bnl.gov</a></div>
</div>
<br class="">
<div class="">
<blockquote type="cite" class="">
<div class="">On Jul 20, 2017, at 12:55 PM, Satayu Techathitinan <<a href="mailto:k.satayu89@gmail.com" class="">k.satayu89@gmail.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="ltr" class="">
<div style="font-size:13px" class="">Hello,</div>
<div style="font-size:13px" class=""><br class="">
</div>
<div style="font-size:13px" class="">I installed <span class="inbox-lG">nexus</span> from homebrew, 'brew install nexusformat', but the program which I wants to install also require '<span class="inbox-lG">nexus</span> f90 library' so I think it does not include
in nexusformat. Could you give me an some advice?</div>
<div style="font-size:13px" class=""><br class="">
</div>
<div style="font-size:13px" class="">Thanks,</div>
<div style="font-size:13px" class="">Satayu</div>
</div>
_______________________________________________<br class="">
NeXus mailing list<br class="">
<a href="mailto:NeXus@nexusformat.org" class="">NeXus@nexusformat.org</a><br class="">
<a href="http://lists.nexusformat.org/mailman/listinfo/nexus" class="">http://lists.nexusformat.org/mailman/listinfo/nexus</a><br class="">
</div>
</blockquote>
</div>
<br class="">
</div>
_______________________________________________<br class="">
NeXus mailing list<br class="">
<a href="mailto:NeXus@nexusformat.org" class="">NeXus@nexusformat.org</a><br class="">
http://lists.nexusformat.org/mailman/listinfo/nexus<br class="">
</div>
</blockquote>
</div>
<br class="">
</body>
</html>