Hi Paco,
I don't see the problem, it is where you expected:
./configure --prefix=/usr/local/hdf5
Change the prefix to install it in the right directory. Consider that it is a new installation, so all files hang from /usr/local/hdf5.
Jose.
El Lunes 20 de enero de 2014 13:39, Francisco Pastor <paco@ceam.es> <mailto:paco@ceam.es> escribi�:
Hi Jose and Elena
You're right, I missed that flag. But I've just built hdf again with this flags:
./configure --prefix=/usr/local/hdf5 --enable-fortran --enable-cxx --with-default-api-version=v16
and now libhdf_fortran is present in /usr/local/hdf5/lib
-rw-r--r-- 1 root root 339082 ene 20 12:54 libhdf5_fortran.a
-rwxr-xr-x 1 root root 1023 ene 20 12:54 libhdf5_fortran.la
lrwxrwxrwx 1 root root 24 ene 20 12:54 libhdf5_fortran.so -> libhdf5_fortran.so.8.0.1
lrwxrwxrwx 1 root root 24 ene 20 12:54 libhdf5_fortran.so.8 -> libhdf5_fortran.so.8.0.1
-rwxr-xr-x 1 root root 334113 ene 20 12:54 libhdf5_fortran.so.8.0.1
-rw-r--r-- 1 root root 101316 ene 20 12:54 libhdf5hl_fortran.a
-rwxr-xr-x 1 root root 1110 ene 20 12:54 libhdf5hl_fortran.la
lrwxrwxrwx 1 root root 26 ene 20 12:54 libhdf5hl_fortran.so -> libhdf5hl_fortran.so.8.0.1
lrwxrwxrwx 1 root root 26 ene 20 12:54 libhdf5hl_fortran.so.8 -> libhdf5hl_fortran.so.8.0.1
-rwxr-xr-x 1 root root 110781 ene 20 12:54 libhdf5hl_fortran.so.8.0.1
Any idea?
Thanks
El 20/01/2014 12:58, Jose Llorens escribi�:
Hi Paco,
My guess is that you didn't compile the Fortran API when installing the library. Perhaps you missed to pass the --enable-fortran flag to configure (check configure --help). I would re-build the library or check whether your Unix Linux distro has an independent package for fortran. Hope this helps.
Jose.
El Lunes 20 de enero de 2014 11:21, Francisco Pastor <paco@ceam.es> <mailto:paco@ceam.es> escribi�:
Hi Elena
Just one more thing. I can't find libhdf5_fortran in my /usr/local/hdf5/lib
Thanks
El 20/01/2014 9:55, Francisco Pastor escribi�:
> Hi Elena
>
> I've tried putting lhdf5_fortran but still get the same error
> messages. Any other suggestion?
>
> Thanks
>
> El 17/01/2014 16:38, Elena Pourmal escribi�:
>> Francisco,
>>
>> You are not linking with the HDF5 fortran library. You should have
>>
>> HDF5_LIBS=-L/usr/local/hdf5/lib -lhdf5_fortran -lhdf5 -lz -lm
>>
>> Elena
>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> Elena Pourmal The HDF Group http://hdfgroup.org <http://hdfgroup.org/>
>> 1800 So. Oak St., Suite 203, Champaign IL 61820
>> 217.531.6112
>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>
>> On Jan 17, 2014, at 2:52 AM, Francisco Pastor <paco@ceam.es >>> <mailto:paco@ceam.es>> wrote:
>>
>>> Hi Marco
>>>
>>> I updated the information at
>>> https://www.evernote.com/shard/s162/sh/19a6cd78-4a6e-4362-aa16-454e02c39460/376acf112a4e62f959b6fafd74c0b169
>>> to reflect Makefile, rules.mk and include.mk used in building.
>>>
>>> Maybe the point comes at
>>>
>>> $(LOADER) -o $(EXE) $(MAIN_OBJ) $(LOADER_OPTS) $(ARC) \
>>> $(LIBUTILS) $(HDF5_LIBS) $(SYSLIBS)
>>>
>>> Should $(HDF5_LIBS) be the latest in the command line?
>>>
>>> Thanks
>>>
>>> Paco
>>>
>>> El 16/01/2014 13:32, Francisco Pastor escribi�:
>>>> Hi everyone
>>>>
>>>> I'm trying to build a pice of sotware (fdgrib2) for reading GRIB2
>>>> files as input in a meteorological model. When trying to build I
>>>> get a whole bunch of undefined reference messages and then building
>>>> process finishes with error. HDF5 installed version is 1.8.12.
>>>>
>>>> You can see the whole output of make command in this url (Evernote
>>>> shared note)
>>>>
>>>> https://www.evernote.com/shard/s162/sh/19a6cd78-4a6e-4362-aa16-454e02c39460/376acf112a4e62f959b6fafd74c0b169
>>>>
>>>> Any help would be appreciated.
>>>>
>>>> Thanks in advance.
>>>>
>>>> Paco
>>>>
>>> --
>>> -----------
>>> Dr. Francisco Pastor
>>> Meteorology department, Instituto Universitario CEAM-UMH
>>> http://www.ceam.es <http://www.ceam.es/>
>>> -----------
>>> Mendeley profile: http://www.mendeley.com/profiles/francisco-pastor1/
>>> Google Scholar:
>>> http://scholar.google.com/citations?user=V3mmCdkAAAAJ&hl=es
>>> Researcher ID: http://www.researcherid.com/rid/B-8331-2008
>>> Cosis profile: http://www.cosis.net/profile/francisco.pastor
>>> -----------
>>> mail: paco@ceam.es <mailto:paco@ceam.es>
>>> skype: paco.pastor.guzman
>>> -----------
>>> Parque Tecnologico, C/ Charles R. Darwin, 14
>>> 46980 PATERNA (Valencia), Spain
>>> Tlf. 96 131 82 27 - Fax. 96 131 81 90
>>>
>>> ---------------------------------------------------------------------
>>> Este mensaje y los ficheros anexos son confidenciales. Los mismos
>>> contienen informaci�n reservada de la empresa que no puede ser
>>> difundida. Si usted ha recibido este correo por error, tenga la
>>> amabilidad de eliminarlo de su sistema y avisar al remitente
>>> mediante reenv�o a su direcci�n electr�nica; no deber� copiar el
>>> mensaje ni divulgar su contenido a ninguna persona.
>>>
>>> Su direcci�n de correo electr�nico junto a sus datos personales
>>> forman parte de un fichero titularidad de la Fundaci�n de la
>>> Comunidad Valenciana Centro de Estudios Ambientales del Mediterr�neo
>>> - CEAM, con CIF: G-46957213, cuya finalidad es la de mantener el
>>> contacto con Ud. De acuerdo con la Ley Org�nica 15/1999, usted puede
>>> ejercitar sus derechos de acceso, rectificaci�n, cancelaci�n y, en
>>> su caso, oposici�n enviando una solicitud por escrito, acompa�ada de
>>> una fotocopia de su DNI dirigida a: Fundaci�n de la Comunidad
>>> Valenciana Centro de Estudios Ambientales del Mediterr�neo - CEAM.
>>> C/ Charles R. Darwin, 14. Parque Tecnol�gico.46980 PATERNA (Valencia).
>>>
>>> This message and the attached files are confidential. They contain
>>> reserved information belonging to our centre and are not to be
>>> broadcast. If you have received this email by mistake, please delete
>>> it from your system and alert the sender by returning it to his/her
>>> email address. You must not copy or divulge the contents of the
>>> message to anyone.
>>>
>>> Your email address and personal data are included in a file
>>> belonging to the Fundaci�n de la Comunidad Valenciana Centro de
>>> Estudios Ambientales del Mediterr�neo - CEAM, con CIF: G-46957213.
>>> The purpose of this file is to allow us to keep in contact with you.
>>> In accordance with Organic Law 15/1999, you are permitted to access,
>>> rectify, cancel or oppose the contents of this file by submitting a
>>> written request, accompanied by a photocopy of your DNI, to:
>>> Fundaci�n de la Comunidad Valenciana Centro de Estudios Ambientales
>>> del Mediterr�neo - CEAM. C/ Charles R. Darwin, 14. Parque
>>> Tecnol�gico.46980 PATERNA (Valencia).
>>>
>>> _______________________________________________
>>> Hdf-forum is for HDF software users discussion.
>>> Hdf-forum@lists.hdfgroup.org <mailto:Hdf-forum@lists.hdfgroup.org>
>>> http://mail.lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
>>>
>>
>> _______________________________________________
>> Hdf-forum is for HDF software users discussion.
>> Hdf-forum@lists.hdfgroup.org <mailto:Hdf-forum@lists.hdfgroup.org>
>> http://mail.lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
>>
>
--
-----------
Dr. Francisco Pastor
Meteorology department, Instituto Universitario CEAM-UMH
http://www.ceam.es <http://www.ceam.es/>
-----------
Mendeley profile: http://www.mendeley.com/profiles/francisco-pastor1/
Google Scholar: http://scholar.google.com/citations?user=V3mmCdkAAAAJ&hl=es
Researcher ID: http://www.researcherid.com/rid/B-8331-2008
Cosis profile: http://www.cosis.net/profile/francisco.pastor
-----------
mail: paco@ceam.es <mailto:paco@ceam.es>
skype: paco.pastor.guzman
-----------
Parque Tecnologico, C/ Charles R. Darwin, 14
46980 PATERNA (Valencia), Spain
Tlf. 96 131 82 27 - Fax. 96 131 81 90
---------------------------------------------------------------------
Este mensaje y los ficheros anexos son confidenciales. Los mismos contienen informaci�n reservada de la empresa que no puede ser difundida. Si usted ha recibido este correo por error, tenga la amabilidad de eliminarlo de su sistema y avisar al remitente mediante reenv�o a su direcci�n electr�nica; no deber� copiar el mensaje ni divulgar su contenido a ninguna persona.
Su direcci�n de correo electr�nico junto a sus datos personales forman parte de un fichero titularidad de la Fundaci�n de la Comunidad Valenciana Centro de Estudios Ambientales del Mediterr�neo - CEAM, con CIF: G-46957213, cuya finalidad es la de mantener el contacto con Ud. De acuerdo con la Ley Org�nica 15/1999, usted puede ejercitar sus derechos de acceso, rectificaci�n, cancelaci�n y, en su caso, oposici�n enviando una solicitud por escrito, acompa�ada de una fotocopia de su DNI dirigida a: Fundaci�n de la Comunidad Valenciana Centro de Estudios Ambientales del Mediterr�neo - CEAM. C/ Charles R. Darwin, 14. Parque Tecnol�gico.46980 PATERNA (Valencia).
This message and the attached files are confidential. They contain reserved information belonging to our centre and are not to be broadcast. If you have received this email by mistake, please delete it from your system and alert the sender by returning it to his/her email address. You must not copy or divulge the contents of the message to anyone.
Your email address and personal data are included in a file belonging to the Fundaci�n de la Comunidad Valenciana Centro de Estudios Ambientales del Mediterr�neo - CEAM, con CIF: G-46957213. The purpose of this file is to allow us to keep in contact with you. In accordance with Organic Law 15/1999, you are permitted to access, rectify, cancel or oppose the contents of this file by submitting a written request, accompanied by a photocopy of your DNI, to: Fundaci�n de la Comunidad Valenciana Centro de Estudios Ambientales del Mediterr�neo - CEAM. C/ Charles R. Darwin, 14. Parque Tecnol�gico.46980 PATERNA (Valencia).
_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@lists.hdfgroup.org <mailto:Hdf-forum@lists.hdfgroup.org>
http://mail.lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@lists.hdfgroup.org <mailto:Hdf-forum@lists.hdfgroup.org>
http://mail.lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
--
-----------
Dr. Francisco Pastor
Meteorology department, Instituto Universitario CEAM-UMH
http://www.ceam.es <http://www.ceam.es/>
-----------
Mendeley profile:http://www.mendeley.com/profiles/francisco-pastor1/
Google Scholar:http://scholar.google.com/citations?user=V3mmCdkAAAAJ&hl=es
Researcher ID:http://www.researcherid.com/rid/B-8331-2008
Cosis profile:http://www.cosis.net/profile/francisco.pastor
-----------
mail:paco@ceam.es <mailto:paco@ceam.es>
skype: paco.pastor.guzman
-----------
Parque Tecnologico, C/ Charles R. Darwin, 14
46980 PATERNA (Valencia), Spain
Tlf. 96 131 82 27 - Fax. 96 131 81 90
---------------------------------------------------------------------
Este mensaje y los ficheros anexos son confidenciales. Los mismos contienen informaci�n reservada de la empresa que no puede ser difundida. Si usted ha recibido este correo por error, tenga la amabilidad de eliminarlo de su sistema y avisar al remitente mediante reenv�o a su direcci�n electr�nica; no deber� copiar el mensaje ni divulgar su contenido a ninguna persona.
Su direcci�n de correo electr�nico junto a sus datos personales forman parte de un fichero titularidad de la Fundaci�n de la Comunidad Valenciana Centro de Estudios Ambientales del Mediterr�neo - CEAM, con CIF: G-46957213, cuya finalidad es la de mantener el contacto con Ud. De acuerdo con la Ley Org�nica 15/1999, usted puede ejercitar sus derechos de acceso, rectificaci�n, cancelaci�n y, en su caso, oposici�n enviando una solicitud por escrito, acompa�ada de una fotocopia de su DNI dirigida a: Fundaci�n de la Comunidad Valenciana Centro de Estudios Ambientales del Mediterr�neo - CEAM. C/ Charles R. Darwin, 14. Parque Tecnol�gico.46980 PATERNA (Valencia).
This message and the attached files are confidential. They contain reserved information belonging to our centre and are not to be broadcast. If you have received this email by mistake, please delete it from your system and alert the sender by returning it to his/her email address. You must not copy or divulge the contents of the message to anyone.
Your email address and personal data are included in a file belonging to the Fundaci�n de la Comunidad Valenciana Centro de Estudios Ambientales del Mediterr�neo - CEAM, con CIF: G-46957213. The purpose of this file is to allow us to keep in contact with you. In accordance with Organic Law 15/1999, you are permitted to access, rectify, cancel or oppose the contents of this file by submitting a written request, accompanied by a photocopy of your DNI, to: Fundaci�n de la Comunidad Valenciana Centro de Estudios Ambientales del Mediterr�neo - CEAM. C/ Charles R. Darwin, 14. Parque Tecnol�gico.46980 PATERNA (Valencia).
Su direcci�n de correo electr�nico junto a sus datos personales forman parte de un fichero titularidad de la Fundaci�n de la Comunidad Valenciana Centro de Estudios Ambientales del Mediterr�neo - CEAM, con CIF: G-46957213, cuya finalidad es la de mantener el contacto con Ud. De acuerdo con la Ley Org�nica 15/1999, usted puede ejercitar sus derechos de acceso, rectificaci�n, cancelaci�n y, en su caso, oposici�n enviando una solicitud por escrito, acompa�ada de una fotocopia de su DNI dirigida a: Fundaci�n de la Comunidad Valenciana Centro de Estudios Ambientales del Mediterr�neo - CEAM. C/ Charles R. Darwin, 14. Parque Tecnol�gico.46980 PATERNA (Valencia).
This message and the attached files are confidential. They contain reserved information belonging to our centre and are not to be broadcast. If you have received this email by mistake, please delete it from your system and alert the sender by returning it to his/her email address. You must not copy or divulge the contents of the message to anyone.
Your email address and personal data are included in a file belonging to the Fundaci�n de la Comunidad Valenciana Centro de Estudios Ambientales del Mediterr�neo - CEAM, con CIF: G-46957213. The purpose of this file is to allow us to keep in contact with you. In accordance with Organic Law 15/1999, you are permitted to access, rectify, cancel or oppose the contents of this file by submitting a written request, accompanied by a photocopy of your DNI, to: Fundaci�n de la Comunidad Valenciana Centro de Estudios Ambientales del Mediterr�neo - CEAM. C/ Charles R. Darwin, 14. Parque Tecnol�gico.46980 PATERNA (Valencia).
I would say that FORT_COMP must be F_COMP. The same for FORT_OPTS. In any case,
I would thoroughly check the Makefile.
Jose.