Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Eclipse for Scientific Computing(Fortran compile)
Eclipse for Scientific Computing [message #1802236] Mon, 04 February 2019 21:36 Go to next message
Colin Gaudion is currently offline Colin GaudionFriend
Messages: 3
Registered: February 2019
Junior Member
Hi, have installed Eclipse to run Fortran programs. Only issue so far is on 'build' get the message below. It was 'gfortran' not found but changed config to look for actual GNU version I have, but still not found.

This is all under latest macOS. Have googled the issue and it has come up before, but solution is not clear, edit Eclipse info.plist? Where is Eclipse actually looking for the compiler or is it calling 'make' which then tries to find the compiler. Not clear how or where Eclipse finds 'path'. If editing 'plist' what are you supposed to put in it?

make all
Building file: ../main.f95
Invoking: GNU Fortran Compiler
gfortran-mp-6 -funderscoring -I/opt/local/bin/ -O0 -g -Wall -c -fmessage-length=0 -o "main.o" "../main.f95"
/bin/sh: gfortran-mp-6: command not found
make: *** [main.o] Error 127

Apart from this issue install was straight forward.

Thanks for any assistance.
Re: Eclipse for Scientific Computing [message #1802278 is a reply to message #1802236] Tue, 05 February 2019 18:53 Go to previous messageGo to next message
Colin Gaudion is currently offline Colin GaudionFriend
Messages: 3
Registered: February 2019
Junior Member
Colin Gaudion wrote on Mon, 04 February 2019 21:36
Hi, have installed Eclipse to run Fortran programs. Only issue so far is on 'build' get the message below. It was 'gfortran' not found but changed config to look for actual GNU version I have, but still not found.

This is all under latest macOS. Have googled the issue and it has come up before, but solution is not clear, edit Eclipse info.plist? Where is Eclipse actually looking for the compiler or is it calling 'make' which then tries to find the compiler. Not clear how or where Eclipse finds 'path'. If editing 'plist' what are you supposed to put in it?

make all
Building file: ../main.f95
Invoking: GNU Fortran Compiler
gfortran-mp-6 -funderscoring -I/opt/local/bin/ -O0 -g -Wall -c -fmessage-length=0 -o "main.o" "../main.f95"
/bin/sh: gfortran-mp-6: command not found
make: *** [main.o] Error 127

Apart from this issue install was straight forward.

Thanks for any assistance.

Re: Eclipse for Scientific Computing [message #1802279 is a reply to message #1802278] Tue, 05 February 2019 19:01 Go to previous message
Colin Gaudion is currently offline Colin GaudionFriend
Messages: 3
Registered: February 2019
Junior Member
Actually found a video on YouTube describing the install of an earlier version. They start eclipse via a script file and it seems to solve the finding gfortran issue. However there are configuration screens in each project that list compilers / commands to run when building, at this level would it not just be simpler to specify the path to the object in question there, if the application struggles to follow the normal 'path' list? Am not sure why the script below works, is it specifying a particular path just for the environment the app starts in?

PATH=$PATH:/usr/local/bin
nohup $HOME/eclipse/parallel-2018-12/Eclipse.app/Contents/MacOS/eclipse -data $HOME/eclipse-workspace
Previous Topic:How to enable Applets on a new JDK/Eclipse install.
Next Topic:OpenVINO
Goto Forum:
  


Current Time: Sat Feb 22 07:49:03 GMT 2020

Powered by FUDForum. Page generated in 0.02991 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top