Hello,
I am new to the forum. I am trying to install FreeFem on my ubuntu virtual machine by following the directions from the installation website Installation guide.
Everything looks fine until I proceed with : “make petsc-slepc”. At this point I receive the following message:
“Makefile:24: Makefile.inc: No such file or directory
make: *** No rule to make target ‘…/…/config.status’, needed by ‘Makefile.inc’. Stop.”
I would appreciate if anybody could help me with this, please.
Thank you for your time!
Thank you for your reply, but I still get the same message when I get to the step:
“make petsc-slepc”.
The message is still:
Makefile:24: Makefile.inc: No such file or directory
make: *** No rule to make target ‘…/…/config.status’, needed by ‘Makefile.inc’. Stop.
Not sure if you have any idea of why this happens. Thank you!
Thank you so much for your help. I was finally able to install, but now, when I run the code, I get this message:
FreeFem++: /lib/x86_64-linux-gnu/libgfortran.so.4: version `GFORTRAN_7’ not found (required by FreeFem++)
It looks like I need this specific file that was not installed. Any idea where I could find it? Or how I could install this? Thank you again!
In this case I receive the message:
“FreeFem+±mpi: error while loading shared libraries: libmpi_cxx.so.20: cannot open shared object file: No such file or directory”
Could you please do ldd FreeFem++ (you’ll need to use the proper path to the FreeFem++ binary) and paste the output? It’s likely that you are using a different environment between the configuration/compilation and when you are running the binaries, you should not get such a behavior.
Additionally, could you please upload config.log from the root of the FreeFem-sources folder, as well as configure.log from FreeFem-sources/3rdparty/ff-petsc/petsc-3.22.2/fr/lib/petsc/conf/configure.log (the version number 3.22.2 may be different on your machine)?
No, I am not using miniconda. Should I ?
Unfortunately, I cannot upload the two files you are asking because I am a new user. This is what I get when I try to upload:
“Sorry, new users can not upload attachments.”
I am not sure if I could send them to you in a different way.
Thank you!
Thank you so much. I had to zip the file from FreeFem-sources/3rdparty/ff-petsc/petsc-3.22.2/fr/lib/petsc/conf/configure.logbecause it was too large. I hope it is ok.
You have a mismatch between Fortran versions on your machine for a reason I’m not sure I understand. Are you able to run a single Fortran program? Are you are to run a single MPI program?
I uninstalled Fortran, and then installed again both Fortran and FreeFem based on the directions you provided. It seems that the problem is fixed, that is my FreeFem is runinng well.
Thank you so much for your help and time. I really appreciate it.