View Issue Details

IDProjectCategoryView StatusLast Update
0000369OpenFOAMBugpublic2012-01-05 17:33
Reporteruser314Assigned Touser17 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
PlatformIntel OSLinuxOS VersionFedora 16
Summary0000369: Installation problems
DescriptionTrying to install on a Fedora 16. Arrived at point 3 http://www.openfoam.com/download/fedora.php of user configuration when I open a terminal I get:

gcc: error: unrecognized option ‘--showme:compile’
gcc: error: unrecognized option ‘--showme:link’
[antonio@Acer ~]$


Any clue??
TagsNo tags attached.

Activities

user17

2011-12-22 12:00

  ~0000861

You need to load the openmpi environment, so if you have a 64 bit machine it should be:

module load openmpi-x86_64

Add it to your .bashrc file above where you source the openfoam environment.

You can check what module files are on your system by typing 'module avail' in a terminal.

user314

2011-12-22 12:05

  ~0000862

I am running on a 32 bit, a terminal gives me:

gcc: error: unrecognized option ‘--showme:compile’
gcc: error: unrecognized option ‘--showme:link’
[antonio@Acer ~]$ module avail

------------------------ /usr/share/Modules/modulefiles ------------------------
dot module-cvs module-info modules null use.own

------------------------------- /etc/modulefiles -------------------------------
mpich2-i386 openmpi-i386
[antonio@Acer ~]$

user17

2011-12-22 12:26

  ~0000863

So make sure you load the openmpi environment before sourcing the openfoam environment by executing:

module load openmpi-i386

If you don't want to type that every time you open a new terminal, you can add it to your .bashrc file just above where you have:

source /opt/OpenFOAM-2.1.0/etc/bashrc

user314

2011-12-22 12:43

  ~0000864

added to my bashrc file and now errors are not present any more.

I suggest to include in installation instructions for Fedora.

Tnx for help

user17

2012-01-05 17:33

  ~0000903

The website installation instructions have been amended, I hope they are clearer now.

Thanks for the report.

Issue History

Date Modified Username Field Change
2011-12-22 11:43 user314 New Issue
2011-12-22 12:00 user17 Note Added: 0000861
2011-12-22 12:05 user314 Note Added: 0000862
2011-12-22 12:26 user17 Note Added: 0000863
2011-12-22 12:43 user314 Note Added: 0000864
2012-01-05 17:33 user17 Note Added: 0000903
2012-01-05 17:33 user17 Status new => resolved
2012-01-05 17:33 user17 Fixed in Version => 2.1.x
2012-01-05 17:33 user17 Resolution open => fixed
2012-01-05 17:33 user17 Assigned To => user17