View Issue Details

IDProjectCategoryView StatusLast Update
0000264OpenFOAMBugpublic2011-07-28 13:08
Reporteruser236Assigned Touser2 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionno change required 
Platform2.6.32-33-generic i686OSUbuntuOS Version 10.04
Summary0000264: error at /opt/openfoam200/etc/bashrc
DescriptionI installed OpenFOAM 2.0.0 according http://www.openfoam.com/download/ubuntu.php. At the configuration step, the execution of /opt/openfoam200/etc/bashrc produces the following error.

/usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib/crt1.o: In function `_start':
(.text+0x18): undefined reference to `main'
collect2: ld returned 1 exit status
/usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib/crt1.o: In function `_start':
(.text+0x18): undefined reference to `main'
collect2: ld returned 1 exit status
Steps To ReproduceThis error occurs every time, when I execute the /opt/openfoam200/etc/bashrc script.
TagsNo tags attached.

Activities

user236

2011-07-27 03:26

 

openfoam_bug_report.txt (21,130 bytes)   
kwchun@bebop:~$ VERS=`lsb_release -cs`
kwchun@bebop:~$ sudo sh -c "echo deb http://www.openfoam.com/download/ubuntu $VERS main >> /etc/apt/sources.list" 
[sudo] password for kwchun: 
kwchun@bebop:~$ sudo apt-get update
Hit http://linux.dropbox.com lucid Release.gpg
Ign http://linux.dropbox.com/ubuntu/ lucid/main Translation-en_US              
Ign http://www.openfoam.com lucid Release.gpg                                  
Ign http://www.openfoam.com/download/ubuntu/ lucid/main Translation-en_US      
Hit http://linux.dropbox.com lucid Release                                     
Hit http://ppa.launchpad.net lucid Release.gpg                                 
Ign http://ppa.launchpad.net/libreoffice/ppa/ubuntu/ lucid/main Translation-en_US
Hit http://ppa.launchpad.net lucid Release.gpg                                 
Hit http://linux.dropbox.com lucid/main Packages                               
Ign http://www.openfoam.com lucid Release                                      
Hit http://ubuntu.mirror.tudos.de lucid Release.gpg                            
Ign http://ubuntu.mirror.tudos.de/ubuntu/ lucid/main Translation-en_US         
Ign http://ubuntu.mirror.tudos.de/ubuntu/ lucid/restricted Translation-en_US   
Ign http://ppa.launchpad.net/mozillateam/firefox-stable/ubuntu/ lucid/main Translation-en_US
Hit http://ppa.launchpad.net lucid Release                                     
Hit http://archive.canonical.com lucid Release.gpg                             
Ign http://archive.canonical.com/ubuntu/ lucid/partner Translation-en_US       
Ign http://www.openfoam.com lucid/main Packages                                
Ign http://ubuntu.mirror.tudos.de/ubuntu/ lucid/universe Translation-en_US     
Ign http://ubuntu.mirror.tudos.de/ubuntu/ lucid/multiverse Translation-en_US
Hit http://ubuntu.mirror.tudos.de lucid-updates Release.gpg          
Ign http://ubuntu.mirror.tudos.de/ubuntu/ lucid-updates/main Translation-en_US
Ign http://ubuntu.mirror.tudos.de/ubuntu/ lucid-updates/restricted Translation-en_US
Ign http://ubuntu.mirror.tudos.de/ubuntu/ lucid-updates/universe Translation-en_US
Ign http://ubuntu.mirror.tudos.de/ubuntu/ lucid-updates/multiverse Translation-en_US
Hit http://ubuntu.mirror.tudos.de lucid-security Release.gpg         
Hit http://ppa.launchpad.net lucid Release                                     
Ign http://www.openfoam.com lucid/main Packages                                
Hit http://archive.canonical.com lucid Release                                 
Ign http://ubuntu.mirror.tudos.de/ubuntu/ lucid-security/main Translation-en_US
Ign http://ubuntu.mirror.tudos.de/ubuntu/ lucid-security/restricted Translation-en_US
Ign http://ubuntu.mirror.tudos.de/ubuntu/ lucid-security/universe Translation-en_US
Ign http://ubuntu.mirror.tudos.de/ubuntu/ lucid-security/multiverse Translation-en_US
Hit http://ubuntu.mirror.tudos.de lucid-proposed Release.gpg                   
Ign http://ubuntu.mirror.tudos.de/ubuntu/ lucid-proposed/restricted Translation-en_US
Hit http://ppa.launchpad.net lucid/main Packages                               
Ign http://ubuntu.mirror.tudos.de/ubuntu/ lucid-proposed/main Translation-en_US
Get:1 http://www.openfoam.com lucid/main Packages [1,842B]                     
Ign http://ubuntu.mirror.tudos.de/ubuntu/ lucid-proposed/multiverse Translation-en_US
Ign http://ubuntu.mirror.tudos.de/ubuntu/ lucid-proposed/universe Translation-en_US
Hit http://ubuntu.mirror.tudos.de lucid Release                      
Hit http://ppa.launchpad.net lucid/main Packages                               
Hit http://ubuntu.mirror.tudos.de lucid-updates Release              
Hit http://archive.canonical.com lucid/partner Packages              
Hit http://ubuntu.mirror.tudos.de lucid-security Release
Hit http://ubuntu.mirror.tudos.de lucid-proposed Release                       
Hit http://ubuntu.mirror.tudos.de lucid/main Packages                          
Hit http://ubuntu.mirror.tudos.de lucid/restricted Packages                   
Hit http://ubuntu.mirror.tudos.de lucid/restricted Sources                    
Hit http://ubuntu.mirror.tudos.de lucid/main Sources                          
Hit http://ubuntu.mirror.tudos.de lucid/multiverse Sources                    
Hit http://ubuntu.mirror.tudos.de lucid/universe Sources                      
Hit http://ubuntu.mirror.tudos.de lucid/universe Packages                     
Hit http://ubuntu.mirror.tudos.de lucid/multiverse Packages
Hit http://ubuntu.mirror.tudos.de lucid-updates/main Packages
Hit http://ubuntu.mirror.tudos.de lucid-updates/restricted Packages
Hit http://ubuntu.mirror.tudos.de lucid-updates/restricted Sources
Hit http://ubuntu.mirror.tudos.de lucid-updates/main Sources
Hit http://ubuntu.mirror.tudos.de lucid-updates/multiverse Sources
Hit http://ubuntu.mirror.tudos.de lucid-updates/universe Sources
Hit http://ubuntu.mirror.tudos.de lucid-updates/universe Packages
Hit http://archive.canonical.com lucid/partner Sources
Hit http://ubuntu.mirror.tudos.de lucid-updates/multiverse Packages
Hit http://ubuntu.mirror.tudos.de lucid-security/main Packages
Hit http://ubuntu.mirror.tudos.de lucid-security/restricted Packages
Hit http://ubuntu.mirror.tudos.de lucid-security/restricted Sources
Hit http://ubuntu.mirror.tudos.de lucid-security/main Sources
Hit http://ubuntu.mirror.tudos.de lucid-security/multiverse Sources
Hit http://ubuntu.mirror.tudos.de lucid-security/universe Sources
Hit http://ubuntu.mirror.tudos.de lucid-security/universe Packages
Hit http://ubuntu.mirror.tudos.de lucid-security/multiverse Packages
Hit http://ubuntu.mirror.tudos.de lucid-proposed/restricted Packages
Hit http://ubuntu.mirror.tudos.de lucid-proposed/main Packages
Hit http://ubuntu.mirror.tudos.de lucid-proposed/multiverse Packages
Hit http://ubuntu.mirror.tudos.de lucid-proposed/universe Packages
Hit http://ubuntu.mirror.tudos.de lucid-proposed/restricted Sources
Hit http://ubuntu.mirror.tudos.de lucid-proposed/main Sources
Hit http://ubuntu.mirror.tudos.de lucid-proposed/multiverse Sources
Hit http://ubuntu.mirror.tudos.de lucid-proposed/universe Sources
Fetched 1,842B in 3s (473B/s)
Reading package lists... Done
kwchun@bebop:~$ sudo apt-get install openfoam200
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  binutils-dev blcr-dkms blcr-util csh flex libcr0 libibverbs-dev
  libncurses5-dev libopenmpi-dev libreadline-dev libreadline6-dev
  libscotch-5.1 libscotch-dev m4 openmpi-bin openmpi-checkpoint openmpi-common
Suggested packages:
  bison paraviewopenfoam3101
Recommended packages:
  libptscotch-dev
The following NEW packages will be installed:
  binutils-dev blcr-dkms blcr-util csh flex libcr0 libibverbs-dev
  libncurses5-dev libopenmpi-dev libreadline-dev libreadline6-dev
  libscotch-5.1 libscotch-dev m4 openfoam200 openmpi-bin openmpi-checkpoint
  openmpi-common
0 upgraded, 18 newly installed, 0 to remove and 0 not upgraded.
Need to get 103MB of archives.
After this operation, 438MB of additional disk space will be used.
Do you want to continue [Y/n]? 
WARNING: The following packages cannot be authenticated!
  openfoam200
Install these packages without verification [y/N]? y
Get:1 http://ubuntu.mirror.tudos.de/ubuntu/ lucid/main m4 1.4.13-3 [241kB]
Get:2 http://www.openfoam.com/download/ubuntu/ lucid/main openfoam200 0-1 [92.8MB]
Get:3 http://ubuntu.mirror.tudos.de/ubuntu/ lucid/main flex 2.5.35-9 [244kB]
Get:4 http://ubuntu.mirror.tudos.de/ubuntu/ lucid/universe blcr-dkms 0.8.2-10 [904kB]
Get:5 http://ubuntu.mirror.tudos.de/ubuntu/ lucid/universe libcr0 0.8.2-10 [31.4kB]
Get:6 http://ubuntu.mirror.tudos.de/ubuntu/ lucid/universe blcr-util 0.8.2-10 [40.6kB]
Get:7 http://ubuntu.mirror.tudos.de/ubuntu/ lucid/universe csh 20070713-2ubuntu1 [253kB]
Get:8 http://ubuntu.mirror.tudos.de/ubuntu/ lucid/main libncurses5-dev 5.7+20090803-2ubuntu3 [1,564kB]
Get:9 http://ubuntu.mirror.tudos.de/ubuntu/ lucid/main libreadline6-dev 6.1-1 [234kB]
Get:10 http://ubuntu.mirror.tudos.de/ubuntu/ lucid/main libreadline-dev 6.1-1 [904B]
Get:11 http://ubuntu.mirror.tudos.de/ubuntu/ lucid/universe libscotch-5.1 5.1.6.dfsg-3 [175kB]
Get:12 http://ubuntu.mirror.tudos.de/ubuntu/ lucid-updates/main binutils-dev 2.20.1-3ubuntu7.1 [3,489kB]
Get:13 http://ubuntu.mirror.tudos.de/ubuntu/ lucid/universe libscotch-dev 5.1.6.dfsg-3 [294kB]
Get:14 http://ubuntu.mirror.tudos.de/ubuntu/ lucid/universe openmpi-common 1.4.1-2 [86.5kB]
Get:15 http://ubuntu.mirror.tudos.de/ubuntu/ lucid/universe libibverbs-dev 1.1.3-2ubuntu1 [80.9kB]
Get:16 http://ubuntu.mirror.tudos.de/ubuntu/ lucid/universe libopenmpi-dev 1.4.1-2 [2,467kB]
Get:17 http://ubuntu.mirror.tudos.de/ubuntu/ lucid/universe openmpi-bin 1.4.1-2 [143kB]
Get:18 http://ubuntu.mirror.tudos.de/ubuntu/ lucid/universe openmpi-checkpoint 1.4.1-2 [61.3kB]
Fetched 103MB in 26s (3,942kB/s)                                               
Selecting previously deselected package m4.
(Reading database ... 333548 files and directories currently installed.)
Unpacking m4 (from .../archives/m4_1.4.13-3_i386.deb) ...
Selecting previously deselected package flex.
Unpacking flex (from .../flex_2.5.35-9_i386.deb) ...
Selecting previously deselected package blcr-dkms.
Unpacking blcr-dkms (from .../blcr-dkms_0.8.2-10_all.deb) ...
Selecting previously deselected package libcr0.
Unpacking libcr0 (from .../libcr0_0.8.2-10_i386.deb) ...
Selecting previously deselected package blcr-util.
Unpacking blcr-util (from .../blcr-util_0.8.2-10_i386.deb) ...
Selecting previously deselected package csh.
Unpacking csh (from .../csh_20070713-2ubuntu1_i386.deb) ...
Selecting previously deselected package libncurses5-dev.
Unpacking libncurses5-dev (from .../libncurses5-dev_5.7+20090803-2ubuntu3_i386.deb) ...
Selecting previously deselected package libreadline6-dev.
Unpacking libreadline6-dev (from .../libreadline6-dev_6.1-1_i386.deb) ...
Selecting previously deselected package libreadline-dev.
Unpacking libreadline-dev (from .../libreadline-dev_6.1-1_i386.deb) ...
Selecting previously deselected package libscotch-5.1.
Unpacking libscotch-5.1 (from .../libscotch-5.1_5.1.6.dfsg-3_i386.deb) ...
Selecting previously deselected package binutils-dev.
Unpacking binutils-dev (from .../binutils-dev_2.20.1-3ubuntu7.1_i386.deb) ...
Selecting previously deselected package libscotch-dev.
Unpacking libscotch-dev (from .../libscotch-dev_5.1.6.dfsg-3_i386.deb) ...
Selecting previously deselected package openmpi-common.
Unpacking openmpi-common (from .../openmpi-common_1.4.1-2_all.deb) ...
Selecting previously deselected package libibverbs-dev.
Unpacking libibverbs-dev (from .../libibverbs-dev_1.1.3-2ubuntu1_i386.deb) ...
Selecting previously deselected package libopenmpi-dev.
Unpacking libopenmpi-dev (from .../libopenmpi-dev_1.4.1-2_i386.deb) ...
Selecting previously deselected package openmpi-bin.
Unpacking openmpi-bin (from .../openmpi-bin_1.4.1-2_i386.deb) ...
Selecting previously deselected package openfoam200.
Unpacking openfoam200 (from .../openfoam200_0-1_i386.deb) ...
Selecting previously deselected package openmpi-checkpoint.
Unpacking openmpi-checkpoint (from .../openmpi-checkpoint_1.4.1-2_i386.deb) ...
Processing triggers for install-info ...
Processing triggers for man-db ...
Processing triggers for doc-base ...
Processing 1 added doc-base file(s)...
Registering documents with scrollkeeper...
Processing triggers for menu ...
Setting up m4 (1.4.13-3) ...
Setting up flex (2.5.35-9) ...

Setting up blcr-dkms (0.8.2-10) ...

Creating symlink /var/lib/dkms/blcr/0.8.2/source ->
                 /usr/src/blcr-0.8.2

DKMS: add Completed.

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area....
make KERNELRELEASE=2.6.32-33-generic -C /lib/modules/2.6.32-33-generic/build M=/var/lib/dkms/blcr/0.8.2/build................................................................
cleaning build area....

DKMS: build Completed.

blcr.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/2.6.32-33-generic/updates/dkms/

blcr_imports.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/2.6.32-33-generic/updates/dkms/

depmod......

DKMS: install Completed.

Setting up libcr0 (0.8.2-10) ...

Setting up blcr-util (0.8.2-10) ...
Setting up csh (20070713-2ubuntu1) ...
update-alternatives: using /bin/bsd-csh to provide /bin/csh (csh) in auto mode.

Setting up libncurses5-dev (5.7+20090803-2ubuntu3) ...
Setting up libreadline6-dev (6.1-1) ...
Setting up libreadline-dev (6.1-1) ...
Setting up libscotch-5.1 (5.1.6.dfsg-3) ...

Setting up binutils-dev (2.20.1-3ubuntu7.1) ...
Setting up libscotch-dev (5.1.6.dfsg-3) ...
Setting up openmpi-common (1.4.1-2) ...
Setting up libibverbs-dev (1.1.3-2ubuntu1) ...
Setting up libopenmpi-dev (1.4.1-2) ...

Setting up openmpi-bin (1.4.1-2) ...

Setting up openfoam200 (0-1) ...

** To use OpenFOAM please add
**
**    . /opt/openfoam200/etc/bashrc
**
** To your ~/.bashrc


Setting up openmpi-checkpoint (1.4.1-2) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Processing triggers for menu ...
kwchun@bebop:~$ sudo apt-get install paraviewopenfoam3101 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  libdrm-dev libgl1-mesa-dev libglu1-mesa-dev libqt4-dev libqt4-multimedia
  libqt4-opengl libqt4-opengl-dev libqt4-qt3support libqt4-sql-sqlite
  mesa-common-dev qt4-designer qt4-dev-tools qt4-doc qt4-qmake
Suggested packages:
  libsqlite0-dev libsqlite3-dev libpq-dev unixodbc-dev qt4-doc-html
The following NEW packages will be installed:
  libdrm-dev libgl1-mesa-dev libglu1-mesa-dev libqt4-dev libqt4-multimedia
  libqt4-opengl libqt4-opengl-dev libqt4-qt3support libqt4-sql-sqlite
  mesa-common-dev paraviewopenfoam3101 qt4-designer qt4-dev-tools qt4-doc
  qt4-qmake
0 upgraded, 15 newly installed, 0 to remove and 0 not upgraded.
Need to get 126MB of archives.
After this operation, 281MB of additional disk space will be used.
Do you want to continue [Y/n]? 
WARNING: The following packages cannot be authenticated!
  paraviewopenfoam3101
Install these packages without verification [y/N]? y
Get:1 http://ubuntu.mirror.tudos.de/ubuntu/ lucid/main libdrm-dev 2.4.18-1ubuntu3 [515kB]
Get:2 http://www.openfoam.com/download/ubuntu/ lucid/main paraviewopenfoam3101 0-1 [49.4MB]
Get:3 http://ubuntu.mirror.tudos.de/ubuntu/ lucid-updates/main mesa-common-dev 7.7.1-1ubuntu3 [2,339kB]
Get:4 http://ubuntu.mirror.tudos.de/ubuntu/ lucid-updates/main libgl1-mesa-dev 7.7.1-1ubuntu3 [31.5kB]
Get:5 http://ubuntu.mirror.tudos.de/ubuntu/ lucid-updates/main libglu1-mesa-dev 7.7.1-1ubuntu3 [213kB]
Get:6 http://ubuntu.mirror.tudos.de/ubuntu/ lucid-updates/main libqt4-qt3support 4:4.6.2-0ubuntu5.2 [1,106kB]
Get:7 http://ubuntu.mirror.tudos.de/ubuntu/ lucid-updates/main libqt4-multimedia 4:4.6.2-0ubuntu5.2 [83.8kB]
Get:8 http://ubuntu.mirror.tudos.de/ubuntu/ lucid-updates/main qt4-qmake 4:4.6.2-0ubuntu5.2 [1,263kB]
Get:9 http://ubuntu.mirror.tudos.de/ubuntu/ lucid-updates/main libqt4-dev 4:4.6.2-0ubuntu5.2 [2,856kB]
Get:10 http://ubuntu.mirror.tudos.de/ubuntu/ lucid-updates/main libqt4-opengl 4:4.6.2-0ubuntu5.2 [266kB]
Get:11 http://ubuntu.mirror.tudos.de/ubuntu/ lucid-updates/main libqt4-opengl-dev 4:4.6.2-0ubuntu5.2 [44.4kB]
Get:12 http://ubuntu.mirror.tudos.de/ubuntu/ lucid-updates/main libqt4-sql-sqlite 4:4.6.2-0ubuntu5.2 [52.9kB]
Get:13 http://ubuntu.mirror.tudos.de/ubuntu/ lucid-updates/main qt4-dev-tools 4:4.6.2-0ubuntu5.2 [4,767kB]
Get:14 http://ubuntu.mirror.tudos.de/ubuntu/ lucid-updates/main qt4-designer 4:4.6.2-0ubuntu5.2 [316kB]
Get:15 http://ubuntu.mirror.tudos.de/ubuntu/ lucid-updates/main qt4-doc 4:4.6.2-0ubuntu5.2 [63.0MB]
Fetched 126MB in 1min 31s (1,380kB/s)                                          
Selecting previously deselected package libdrm-dev.
(Reading database ... 356480 files and directories currently installed.)
Unpacking libdrm-dev (from .../libdrm-dev_2.4.18-1ubuntu3_i386.deb) ...
Replaced by files in installed package linux-libc-dev ...
Selecting previously deselected package mesa-common-dev.
Unpacking mesa-common-dev (from .../mesa-common-dev_7.7.1-1ubuntu3_i386.deb) ...
Selecting previously deselected package libgl1-mesa-dev.
Unpacking libgl1-mesa-dev (from .../libgl1-mesa-dev_7.7.1-1ubuntu3_i386.deb) ...
Selecting previously deselected package libglu1-mesa-dev.
Unpacking libglu1-mesa-dev (from .../libglu1-mesa-dev_7.7.1-1ubuntu3_i386.deb) ...
Selecting previously deselected package libqt4-qt3support.
Unpacking libqt4-qt3support (from .../libqt4-qt3support_4%3a4.6.2-0ubuntu5.2_i386.deb) ...
Selecting previously deselected package libqt4-multimedia.
Unpacking libqt4-multimedia (from .../libqt4-multimedia_4%3a4.6.2-0ubuntu5.2_i386.deb) ...
Selecting previously deselected package qt4-qmake.
Unpacking qt4-qmake (from .../qt4-qmake_4%3a4.6.2-0ubuntu5.2_i386.deb) ...
Selecting previously deselected package libqt4-dev.
Unpacking libqt4-dev (from .../libqt4-dev_4%3a4.6.2-0ubuntu5.2_i386.deb) ...
Selecting previously deselected package libqt4-opengl.
Unpacking libqt4-opengl (from .../libqt4-opengl_4%3a4.6.2-0ubuntu5.2_i386.deb) ...
Selecting previously deselected package libqt4-opengl-dev.
Unpacking libqt4-opengl-dev (from .../libqt4-opengl-dev_4%3a4.6.2-0ubuntu5.2_i386.deb) ...
Selecting previously deselected package libqt4-sql-sqlite.
Unpacking libqt4-sql-sqlite (from .../libqt4-sql-sqlite_4%3a4.6.2-0ubuntu5.2_i386.deb) ...
Selecting previously deselected package qt4-dev-tools.
Unpacking qt4-dev-tools (from .../qt4-dev-tools_4%3a4.6.2-0ubuntu5.2_i386.deb) ...
Selecting previously deselected package paraviewopenfoam3101.
Unpacking paraviewopenfoam3101 (from .../paraviewopenfoam3101_0-1_i386.deb) ...
Selecting previously deselected package qt4-designer.
Unpacking qt4-designer (from .../qt4-designer_4%3a4.6.2-0ubuntu5.2_i386.deb) ...
Selecting previously deselected package qt4-doc.
Unpacking qt4-doc (from .../qt4-doc_4%3a4.6.2-0ubuntu5.2_all.deb) ...
Processing triggers for man-db ...
Processing triggers for python-gmenu ...
Rebuilding /usr/share/applications/desktop.en_US.utf8.cache...
Processing triggers for desktop-file-utils ...
Processing triggers for menu ...
Processing triggers for python-support ...
Setting up libdrm-dev (2.4.18-1ubuntu3) ...
Setting up mesa-common-dev (7.7.1-1ubuntu3) ...
Setting up libgl1-mesa-dev (7.7.1-1ubuntu3) ...
Setting up libglu1-mesa-dev (7.7.1-1ubuntu3) ...
Setting up libqt4-qt3support (4:4.6.2-0ubuntu5.2) ...

Setting up libqt4-multimedia (4:4.6.2-0ubuntu5.2) ...

Setting up qt4-qmake (4:4.6.2-0ubuntu5.2) ...
update-alternatives: using /usr/bin/qmake-qt4 to provide /usr/bin/qmake (qmake) in auto mode.

Setting up libqt4-dev (4:4.6.2-0ubuntu5.2) ...
update-alternatives: using /usr/bin/moc-qt4 to provide /usr/bin/moc (moc) in auto mode.
update-alternatives: using /usr/bin/uic-qt4 to provide /usr/bin/uic (uic) in auto mode.
update-alternatives: using /usr/bin/lupdate-qt4 to provide /usr/bin/lupdate (lupdate) in auto mode.
update-alternatives: using /usr/bin/lrelease-qt4 to provide /usr/bin/lrelease (lrelease) in auto mode.

Setting up libqt4-opengl (4:4.6.2-0ubuntu5.2) ...

Setting up libqt4-opengl-dev (4:4.6.2-0ubuntu5.2) ...
Setting up libqt4-sql-sqlite (4:4.6.2-0ubuntu5.2) ...
Setting up qt4-dev-tools (4:4.6.2-0ubuntu5.2) ...
update-alternatives: using /usr/bin/assistant-qt4 to provide /usr/bin/assistant (assistant) in auto mode.
update-alternatives: using /usr/bin/linguist-qt4 to provide /usr/bin/linguist (linguist) in auto mode.

Setting up paraviewopenfoam3101 (0-1) ...

Setting up qt4-designer (4:4.6.2-0ubuntu5.2) ...
update-alternatives: using /usr/bin/designer-qt4 to provide /usr/bin/designer (designer) in auto mode.

Setting up qt4-doc (4:4.6.2-0ubuntu5.2) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Processing triggers for menu ...
kwchun@bebop:~$ source /opt/openfoam200/etc/bashrc
/usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib/crt1.o: In function `_start':
(.text+0x18): undefined reference to `main'
collect2: ld returned 1 exit status
/usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib/crt1.o: In function `_start':
(.text+0x18): undefined reference to `main'
collect2: ld returned 1 exit status
kwchun@bebop:~$ icoFoam -help

Usage: icoFoam [OPTIONS]
options:
  -case <dir>       specify alternate case directory, default is the cwd
  -noFunctionObjects
                    do not execute functionObjects
  -parallel         run in parallel
  -roots <(dir1 .. dirN)>
                    slave root directories for distributed running
  -srcDoc           display source code in browser
  -doc              display application documentation in browser
  -help             print the usage

Using: OpenFOAM-2.0.0 (see www.OpenFOAM.com)
Build: 2.0.0-d79727c3fca7

kwchun@bebop:~$ 

openfoam_bug_report.txt (21,130 bytes)   

user236

2011-07-28 03:23

  ~0000595

I installed mpich2 on my system, not opemmpi. I guess that this caused the error message. So, I resolved the problem by setting the WM_MPLIB environment variable in /opt/openfoam200/etc/bashrc, like following.

export WM_MPLIB=MPICH

Issue History

Date Modified Username Field Change
2011-07-27 03:26 user236 New Issue
2011-07-27 03:26 user236 File Added: openfoam_bug_report.txt
2011-07-28 03:23 user236 Note Added: 0000595
2011-07-28 13:08 user2 Status new => resolved
2011-07-28 13:08 user2 Fixed in Version => 2.0.x
2011-07-28 13:08 user2 Resolution open => no change required
2011-07-28 13:08 user2 Assigned To => user2