Giter Club home page Giter Club logo

Comments (11)

frederichecht avatar frederichecht commented on May 26, 2024

from freefem-sources.

sgarnotel avatar sgarnotel commented on May 26, 2024

from freefem-sources.

Trophime avatar Trophime commented on May 26, 2024

Hi,
your best move is to check with which hdf5 library freefem++ has been compiled:

ldd ./Freefem++ | grep hdf5

then try to install the package that contains the library, possibly libhd5-dev (with the correspond version) on Ubuntu 18.4:

sudo apt install libhdf5-dev

Best

from freefem-sources.

paolopiers avatar paolopiers commented on May 26, 2024

Hi and thanks a lot to everyone for answering.
I tried to link to link the library as Simon suggested and I also tried to install the library that Trophime suggested.
However, I keep up receiving the same error message about that missing library.

Best regards,

Paolo

from freefem-sources.

sgarnotel avatar sgarnotel commented on May 26, 2024

I try to build a .deb package as soon as possible

from freefem-sources.

Trophime avatar Trophime commented on May 26, 2024

@paolopiers could you send the output of ldd command?
By the way, I'm pretty sure that there is an up to date freefem++ package on Ubuntu 18.04.
Why not using it?

from freefem-sources.

Trophime avatar Trophime commented on May 26, 2024

May be this would do the trick (if your "still" want to use freefem++ latest version):
sudo ln -sf /usr/lib/x86_64-linux-gnu/hdf5/serial/libhdf5.so usr/lib/libhdf5_serial.so.10

from freefem-sources.

frederichecht avatar frederichecht commented on May 26, 2024

from freefem-sources.

sgarnotel avatar sgarnotel commented on May 26, 2024

I just add a deb package

@paolopiers could you try it?

from freefem-sources.

paolopiers avatar paolopiers commented on May 26, 2024

I have tried as @Trophime and @frederichecht suggested.
Linking the library DOES the trick and the program is successfully executed.
To recapitulate, this is how the problem related to the .zip bundle was solved:

  1. Run sudo ln -sf /usr/lib/x86_64-linux-gnu/hdf5/serial/libhdf5.so usr/lib/libhdf5_serial.so.10

  2. This is the output of ./FreeFem++

 Error parameter: ./FreeFem++ , version :   3.610000 (date Wed Jun 20 19:07:59 CEST 2018) 64bits 
 Syntaxe = ./FreeFem++   [ -v verbosity ] [ -fglut filepath ] [ -glut command ] [ -nw] [ -f] filename  [SCRIPT-arguments]
        -v      verbosity : 0 -- 1000000 level of freefem output 
        -fglut  filepath  : the file name of save all plots (replot with ffglut command ) 
        -glut    command  : change  command  compatible with ffglut  
        -gff     command  : change  command  compatible with ffglut (with space quoting)
        -nowait           : nowait at the end on window   
        -wait             : wait at the end on window   
        -nw  or -ng       : no ffglut, ffmedit  (=> no graphics windows) 
        -wg               : with graphic   (=>  graphics windows) 
        -ne               : no edp script output
        -cd               : Change dir to script dir
        -jc               : just compile
        -cdtmp            : Change dir to tmp dir (for test)

 without     default ffglut : ffglut

I also tried to compile an example and everything works perfectly.
Thanks a lot everyone for your help.

@sgarnotel I have tried your .deb package (version 3.610002) and it works perfectly.
This is the output of FreeFem++ command

paolo@MADept:~/Downloads$ FreeFem++
 Error parameter: FreeFem++ , version :   3.610002 (date lundi 26 novembre 2018, 22:06:53 (UTC+0100)) 64bits 
 Syntaxe = FreeFem++   [ -v verbosity ] [ -fglut filepath ] [ -glut command ] [ -nw] [ -f] filename  [SCRIPT-arguments]
        -v      verbosity : 0 -- 1000000 level of freefem output 
        -fglut  filepath  : the file name of save all plots (replot with ffglut command ) 
        -glut    command  : change  command  compatible with ffglut  
        -gff     command  : change  command  compatible with ffglut (with space quoting)
        -nowait           : nowait at the end on window   
        -wait             : wait at the end on window   
        -nw  or -ng       : no ffglut, ffmedit  (=> no graphics windows) 
        -wg               : with graphic   (=>  graphics windows) 
        -ne               : no edp script output
        -cd               : Change dir to script dir
        -jc               : just compile
        -cdtmp            : Change dir to tmp dir (for test)

 with        default ffglut : ffglut

I tried to compile a basic example (the same as above) and I got the desired output. Thank you very much for your help!

from freefem-sources.

sgarnotel avatar sgarnotel commented on May 26, 2024

Thank you for your feedback. I close this issue as it's solved

from freefem-sources.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.