gfortran package dependency missing

Bug #764326 reported by Risto H. Kurppa
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
elmerfem (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Installed package elmer on Kubuntu 10.04.2

Trying to start elmer from menu dies.
Trying elmerf90, elmerf90-nosh and elmerld from CLI also die:

kurppa@el-kone:~$ elmerf90
gfortran -I/build/buildd/elmerfem-5.5.0.svn.4262.dfsg/debian/tmp/usr/include -fPIC -fPIC -I. -Ibinio -I/usr/include/mpi -I/usr/share/elmersolver/include -shared

/usr/bin/elmerf90: 19: gfortran: not found
kurppa@el-kone:~$ elmerf90-nosh
gfortran -I/build/buildd/elmerfem-5.5.0.svn.4262.dfsg/debian/tmp/usr/include -fPIC -fPIC -I. -Ibinio -I/usr/include/mpi -I/usr/share/elmersolver/include

/usr/bin/elmerf90-nosh: 18: gfortran: not found
kurppa@el-kone:~$

But after installing the package gfortran they work:

kurppa@el-kone:~$ elmerf90
gfortran -I/build/buildd/elmerfem-5.5.0.svn.4262.dfsg/debian/tmp/usr/include -fPIC -fPIC -I. -Ibinio -I/usr/include/mpi -I/usr/share/elmersolver/include -shared
gfortran: no input files

kurppa@el-kone:~$ elmerf90-nosh
gfortran -I/build/buildd/elmerfem-5.5.0.svn.4262.dfsg/debian/tmp/usr/include -fPIC -fPIC -I. -Ibinio -I/usr/include/mpi -I/usr/share/elmersolver/include
gfortran: no input files

kurppa@el-kone:~$ elmerld
gfortran -shared -L/usr/lib -lelmersolver
gfortran: no input files
kurppa@el-kone:~$

To me it looks like that gfortran should be installed along elmer.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: elmer 5.5.0.svn.4262.dfsg-1ubuntu1
ProcVersionSignature: Ubuntu 2.6.32-30.59-generic 2.6.32.29+drm33.13
Uname: Linux 2.6.32-30-generic i686
Architecture: i386
Date: Mon Apr 18 10:49:21 2011
InstallationMedia: Kubuntu 10.04.1 LTS "Lucid Lynx" - Release i386 (20100816.2)
ProcEnviron:
 LANGUAGE=
 PATH=(custom, user)
 LANG=fi_FI.UTF-8
 SHELL=/bin/bash
SourcePackage: elmerfem

Revision history for this message
Risto H. Kurppa (risto.kurppa) wrote :
Revision history for this message
Brice Marnier (brice-marnier) wrote :

Same problem in Ubuntu natty (11.04)

As Risto said, I think it's a distribution problem, installing gfortran package solves the issue.

Note for first-timers (like me) using elmer : elmerf90, elmerf90-nosh, elmerld are not meant to be launched by hand (unless you know what you're doing I guess), but you should use Elmer* binaries (starting with an uppercase E), and particularily ElmerGUI; also availble from Ubuntu menu.

Revision history for this message
Jalakas (jalakas) wrote :

Still active in Precise.

Changed in elmerfem (Ubuntu):
status: New → Confirmed
Revision history for this message
Tehnick (tehnick) wrote :

Could you describe a problem in more detail?

Which packages are installed?
$ dpkg -l | grep elmer

> Trying to start elmer from menu dies.

Have you tried to launch menu item "Elmer logger"?
Or was it another menu item?

Also you can try to launch directly .desktop file:
/usr/share/applications/ElmerGUIlogger.desktop

> To me it looks like that gfortran should be installed along elmer.

You are rigth. But package libelmer-dev should depend on gfortran, not package elmer.

Program elmerf90 is a part of package libelmer-dev:
http://packages.ubuntu.com/quantal/i386/libelmer-dev/filelist

And package libelmer-dev depends on gfortran since Ubuntu Quantal:
http://packages.ubuntu.com/quantal/libelmer-dev

So this bug affects only Ubuntu Precise and earlier releases:
http://packages.ubuntu.com/precise/libelmer-dev
http://packages.ubuntu.com/oneiric/libelmer-dev

> Note for first-timers (like me) using elmer : elmerf90, elmerf90-nosh, elmerld are not meant to be launched by hand (unless you know what you're doing I guess), but you should use Elmer* binaries (starting with an uppercase E), and particularily ElmerGUI; also availble from Ubuntu menu.

Exactly.

tags: added: oneiric precise
tags: removed: i386
Revision history for this message
Risto H. Kurppa (risto.kurppa) wrote :

On Kubuntu 12.04 I installed the package elmer and it seems to start without any issues from menu / CLI using ElmerGUI.

Package gfortran is/was not installed.

I'm OK with closing this bug as invalid/fixed.

Revision history for this message
Tehnick (tehnick) wrote :

In fact this bug report is not invalid. But it is just very minor. And it is not enough to prepare updated packages with trivial fix.

Let's mark it as fixed in Quantal.

Changed in elmerfem (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.