Personal tools
You are here: Home Forum Install & build Missing MED static library in Salomé 7.3.0 (InstallWizard)

Missing MED static library in Salomé 7.3.0 (InstallWizard)

Up to Install & build

Missing MED static library in Salomé 7.3.0 (InstallWizard)

Posted by Loïc Chevallier at January 22. 2014

Dear all,

I recently installed Salomé 7.3.0 on our HPC cluster (InstallWizard CentOS 5.5 64bits). It works fine but MED and HDF5 static libraries: libmed.a and libhdf5.a, respectively, are missing. 

We need those libraries, and the static ones especially, in order to use MED meshes in EDF&L2EP's Code_Carmel3D code.

These libraries could be found in Salomé 7.2.0 (same flavour).

Is it a voluntary act or a configuration/compilation problem ?

Thanks anyway.

Re: Missing MED static library in Salomé 7.3.0 (InstallWizard)

Posted by Vadim SANDLER at January 23. 2014

Hello,

With SALOME 7.3.0 we build hdf5 and med using CMake-based build procedure, while for previous versions we used build procedure based on GNU auto-tools (automake/autoconf). As SALOME build procedure is now based on CMake we have found more reasonable to use CMake-based build procedures in other pre-requisites where it is possible.

Static libraries are not built by default by CMake-based build procedure.

While in med 3.0.7 there's a configuration option -DMEDILE_BUILD_STATIC_LIBS=ON that allows buiding in the same time both shared and static libraries, there is no such possibility in hdf5 1.8.10 :(

If you need static libraries of hdf5 and med you will have to re-build these products yourself.

Regards,
Vadim.

Re: Missing MED static library in Salomé 7.3.0 (InstallWizard)

Posted by Ashwin S at January 26. 2014

I recently installed Salome 7.3.0 and i am getting the same problem. It says that libmed.c file is missing . It is not allowing me to enter the mesh module . Any help/suggestion would be very much appreciated.

Regards,

Ashwin

Re: Missing MED static library in Salomé 7.3.0 (InstallWizard)

Posted by Vadim SANDLER at January 27. 2014

Hello Ashwin,

Can you please provide more details about the problem you encounter? From your initial message I see that the problem does not have any relation with missing static libraries of med or hdf5 (as explained in the initial post in this discussion); you seem to have another problem.

How did you install SALOME - using Install WIzard or universal binaries?

Please provide log or snapshot with the error message.

Thank you in advance.

Regards,
Vadim.

Re: Missing MED static library in Salomé 7.3.0 (InstallWizard)

Posted by Ashwin S at January 28. 2014
Thanks Vadim for your reply , I shall upload the log in 3 hours time. 
 
Regards ,
Ashwin

Re: Missing MED static library in Salomé 7.3.0 (InstallWizard)

Posted by Ashwin S at January 28. 2014
Hi Vadim,
Sorry for the delay. I have uploaded the log file and a screen shot of the installation wizard.
 
Regards,
Ashwin 
Attachments

Re: Missing MED static library in Salomé 7.3.0 (InstallWizard)

Posted by Ashwin S at January 28. 2014

I am unable to upload the screen shot due to size limitations . Anyway it says:

.med.sh: line 118:[: =: unary operator expected

Re: Missing MED static library in Salomé 7.3.0 (InstallWizard)

Posted by Vadim SANDLER at January 29. 2014

Hello Ashwin,

Well, now I see that the problem is somewhere in the installation script. Unfortunately, it is difficult to understand where the problem in script exactly as the line number (118) seems to be wrong (due to the way the script is running from Install Wizard, the actual line number differs from what is printed).

Since this problem was not detected during testing on different platforms I suppose it is related somehow to the configuration of your shell interpeter. The scripts from Install Wizard are executed using bash. However, on some platforms bash can be configured to link to sh, dash or other interpeter.

Can you provide an output of the following command?

ls -la /bin/bash

And, by the way, what is your Linux platform?

Regards,
Vadim.

Re: Missing MED static library in Salomé 7.3.0 (InstallWizard)

Posted by Ashwin S at January 29. 2014

Hi Vadim,

I am using ubuntu 13.04 .

I ran the command ls -labinbash and the result is in the uploaded  file.

Thanks ,

Ashwin

Attachments

Re: Missing MED static library in Salomé 7.3.0 (InstallWizard)

Posted by Ashwin S at January 29. 2014

By the way , will salome 7.2.0(or any other version) give the same problem while installation ?

Thanks ,

Ashwin

Re: Missing MED static library in Salomé 7.3.0 (InstallWizard)

Posted by Vadim SANDLER at January 29. 2014

Hello Aswin,

The command is

ls -la /bin/bash

and not

la -labinbash

With this command I want to see how /bin/bash program is configured at your workstation - it can be symbolically linked to /bin/sh or /bin/dash or something other.

The output might look something like

-rwxr-xr-x 1 root root 938736 May 10  2012 /bin/bash

Regarding SALOME 7.2.0 - I can't say anything; there might be no similar problem in that version of SALOME. Indeed, for SALOME 7.3.0 all installation scripts have been revised, so the problem you experience can be caused by one of those changes.

Regards,
Vadim.

Re: Missing MED static library in Salomé 7.3.0 (InstallWizard)

Posted by Ashwin S at January 29. 2014

Hi Vadim,

When i try running the command -ls la/bin/bash it gives the following message:

ls: 'invalid option -- ' / '

 

Thanks 

Ashwin

Re: Missing MED static library in Salomé 7.3.0 (InstallWizard)

Posted by Vadim SANDLER at January 30. 2014

Hello Ashwin,

Just copy-paste the following command to the terminal and press Enter.

ls -la /bin/bash

Here:

"ls" is a command
"-la" is set of options to be used with "ls" command (no spaces between "-" and "la")
"/bin/bash" is a path to the program (no spaces in this path)
"ls", "-la" and "/bin/bash" are separated by spaces.

Regards,
Vadim.

Previously Ashwin S wrote:

Hi Vadim,

When i try running the command -ls la/bin/bash it gives the following message:

ls: 'invalid option -- ' / '

 

Thanks 

Ashwin

 

Re: Missing MED static library in Salomé 7.3.0 (InstallWizard)

Posted by Ashwin S at January 30. 2014

Hi Vadim,

Sorry for the inconvenience. Here is the result from the above command. 

-rwxr-xr-x 1 root root 959168 Mar 30  2013 /bin/bash

Regards 

Ashwin

Powered by Ploneboard
Document Actions