[Nexus] nexus f90 library

Satayu Techathitinan k.satayu89 at gmail.com
Mon Jul 24 15:18:03 BST 2017


Hi Stu,

Thank you for your answer, however when I try to run 'cmake
/Users/satayu/code-4.4.3 -DCMAKE_CXX_COMPILER=g++-7
-DCMAKE_C_COMPILER=gcc-7 -DENABLE_FORTRAN90' the message as attachment are
shown. What will I should do?
[image: Screen Shot 2560-07-24 at 10.15.30 AM.png]I try to use it in
program DISCUS but I still cannot install DISCUS because it requires nexus
f90 library.

Thanks,
Satayu

เมื่อ อา. 23 ก.ค. 2017 เวลา 09:19 Campbell, Stuart <scampbell at bnl.gov>
เขียนว่า:

> Hi Satayu,
>
> 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.
>
> # Install the dependencies
> brew install gcc
> brew install cmake
> brew install hdf5
> brew install mxml
> brew install hdf4
>
> Download and extract the source code Source code (tar.gz)
> <https://github.com/nexusformat/code/archive/v4.4.3.tar.gz>
>
> mkdir build
> cd build
> 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
> https://github.com/nexusformat/code/blob/master/README.rst)
>
> Then just “make”, “make install”…
>
> What is the application that you are trying to use ?
>
> Cheers
> Stu
>
>
> On Jul 20, 2017, at 1:01 PM, Campbell, Stuart <scampbell at bnl.gov> wrote:
>
> Hi Satayu,
> 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!
> Cheers
> Stu
>
>> Dr Stuart Campbell
> Group Leader, Data Acquisition, Management and Analysis
> NSLS-II, Photon Sciences
> Brookhaven National Laboratory
> PO Box 5000 Upton, New York, 11973-5000
>
> Phone: +1 (631) 344-5578 <(631)%20344-5578>
> Email: scampbell at bnl.gov
>
> On Jul 20, 2017, at 12:55 PM, Satayu Techathitinan <k.satayu89 at gmail.com>
> wrote:
>
> Hello,
>
> I installed nexus from homebrew, 'brew install nexusformat', but the
> program which I wants to install also require 'nexus f90 library' so I
> think it does not include in nexusformat. Could you give me an some advice?
>
> Thanks,
> Satayu
> _______________________________________________
> NeXus mailing list
> NeXus at nexusformat.org
> http://lists.nexusformat.org/mailman/listinfo/nexus
>
>
> _______________________________________________
> NeXus mailing list
> NeXus at nexusformat.org
> http://lists.nexusformat.org/mailman/listinfo/nexus
>
>
> _______________________________________________
> NeXus mailing list
> NeXus at nexusformat.org
> http://lists.nexusformat.org/mailman/listinfo/nexus
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nexusformat.org/pipermail/nexus/attachments/20170724/f398dc63/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2560-07-24 at 10.15.30 AM.png
Type: image/png
Size: 12823 bytes
Desc: not available
URL: <http://lists.nexusformat.org/pipermail/nexus/attachments/20170724/f398dc63/attachment-0001.png>


More information about the NeXus mailing list