CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

Fluent 16.0.0 and Ubuntu 12.04

Register Blogs Community New Posts Updated Threads Search

Like Tree14Likes
  • 13 Post By Zlatko
  • 1 Post By Plana

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 6, 2015, 06:30
Default Fluent 16.0.0 and Ubuntu 12.04
  #1
Senior Member
 
Phoevos
Join Date: Mar 2009
Posts: 104
Rep Power: 17
fivos is on a distinguished road
Hi all,

Recently I installed Fluent 16.0.0 on a Ubuntu 12.04 machine (x64 both the Linux and Fluent versions). Whereas I can run Fluent fine in serial mode, I have issues in running it on parallel. To be precise, when I try to run in parallel, I get the following:

> fluent 3ddp -g -t4

/srv/ansys_inc/v160/fluent/fluent16.0.0/bin/fluent -r16.0.0 3ddp -g -t4
/srv/ansys_inc/v160/fluent/fluent16.0.0/multiport/mpi_wrapper/bin/mpicheck.fl: 1
13: [: default: unexpected operator
/srv/ansys_inc/v160/fluent/fluent16.0.0/cortex/lnamd64/cortex.16.0.0 -f fluent -g (fluent "3ddp -pshmem -host -alnamd64 -r16.0.0 -t4 -mpi=pcmpi -path/srv/ansys_inc/v160/fluent -ssh")
/srv/ansys_inc/v160/fluent/fluent16.0.0/bin/fluent -r16.0.0 3ddp -pshmem -host -alnamd64 -t4 -mpi=pcmpi -path/srv/ansys_inc/v160/fluent -ssh -cx <...computer name here...>
/srv/ansys_inc/v160/fluent/fluent16.0.0/bin/fluent: 493: [: pcmpi: unexpected operator
/srv/ansys_inc/v160/fluent/fluent16.0.0/bin/fluent: 2381: /srv/ansys_inc/v160/fluent/fluent16.0.0/bin/fluent: Bad substitution
The fluent process could not be started.

Then I am prompted to select one of the available versions (2d, 2ddp, 3d, 3ddp), but then it will run in serial..

I have to mention here that all previous Fluent versions that I have tried before (e.g. 14.0, 14.5, 15.0, 15.0.7) have no problem at all running in parallel. So my guess is that there is some new dependency, or some change in the way parallel runs are invoked by fluent... Maybe a hint is the 'Bad substitution' message (which I did not get from previous versions..)??

If anyone has any idea, it would be welcome.
Thanks in advance.
fivos is offline   Reply With Quote

Old   April 2, 2015, 02:38
Default
  #2
New Member
 
Zlatko's Avatar
 
Join Date: Mar 2009
Posts: 10
Rep Power: 17
Zlatko is on a distinguished road
Hi,

The problem is /bin/sh, the default command interpreter for shell scripts. In RHEL/CentOS distribution /bin/sh is linked to /bin/bash, while in debian based linux distributions /bin/sh points to /bin/dash.

You can set /bin/bash as default shell scripts interpreter with console command:
sudo dpkg-reconfigure dash
and answer No to the question:
Use dash as the default system shell (/bin/sh)?
Zlatko is offline   Reply With Quote

Old   April 2, 2015, 04:44
Default
  #3
Senior Member
 
Phoevos
Join Date: Mar 2009
Posts: 104
Rep Power: 17
fivos is on a distinguished road
Hi Zlatko,

Thanks a ton, your answer is spot - on. Now Fluent 16 can run in Ubuntu with parallel.

The strange thing was that even if Fluent parallel did not work with dash, CFX parallel did, which was somewhat incomprehensible for me..

Thanks again for your help
fivos is offline   Reply With Quote

Old   April 2, 2015, 07:34
Default
  #4
New Member
 
Zlatko's Avatar
 
Join Date: Mar 2009
Posts: 10
Rep Power: 17
Zlatko is on a distinguished road
I assume that you have also a problem with ANSYS Help Viewer. To get rid of error:
Cannot mix incompatible Qt library (version 0x40806) with this library (version 0x40804)
execute following commands in console:
cd <install_dir>/ansys_inc/v160/Framework/bin/Linux64/
sudo mkdir QtLibs
sudo mv *Qt*.so* QtLibs
and system Qt libs will be used instead of ANSYS supplied.

Best regards.
Zlatko is offline   Reply With Quote

Old   April 2, 2015, 07:48
Default
  #5
Senior Member
 
Phoevos
Join Date: Mar 2009
Posts: 104
Rep Power: 17
fivos is on a distinguished road
Hi Zlatko,

I just tried, but it seems that I do not have problems with the default Qt from ANSYS, since the ANSYS Help Viewer opens normally (e.g. from Fluent -> Help -> User guide contents).

Thanks anyway.
fivos is offline   Reply With Quote

Old   April 2, 2015, 07:56
Default
  #6
New Member
 
Zlatko's Avatar
 
Join Date: Mar 2009
Posts: 10
Rep Power: 17
Zlatko is on a distinguished road
Quote:
Originally Posted by fivos View Post
I just tried, but it seems that I do not have problems with the default Qt from ANSYS, since the ANSYS Help Viewer opens normally (e.g. from Fluent -> Help -> User guide contents).
As I can see, you have Ubuntu 12.04, while I'm using Kubuntu 12.10 with Qt 4.8.6.

Regards.
Zlatko is offline   Reply With Quote

Old   March 24, 2017, 06:08
Default
  #7
New Member
 
Join Date: Jun 2016
Posts: 2
Rep Power: 0
Plana is on a distinguished road
Hello everyone,

I have a problem similar to the OP. I installed Fluent 17.2 in my ubuntu 16.04 machine. The serial version works fine, but when I try to run the parallel version, I get the error:

p, li { white-space: pre-wrap; } /home/carlos/ansys/ansys_inc/v172/fluent/fluent17.2.0/bin/fluent: 501: [: pcmpi: unexpected operator
/home/carlos/ansys/ansys_inc/v172/fluent/fluent17.2.0/bin/fluent: 2395: /home/carlos/ansys/ansys_inc/v172/fluent/fluent17.2.0/bin/fluent: Bad substitution
The fluent process could not be started.


Error: eval: unassigned variable
Error Object: rp-3d?


I am already using the bash shell. I could not find any other hint about this problem. If anybody has some advice, I would really appreciate it.


Thanks in advance
Bashar likes this.
Plana is offline   Reply With Quote

Old   May 1, 2017, 21:50
Default
  #8
Member
 
Bashar
Join Date: Jul 2015
Posts: 74
Rep Power: 11
Bashar is on a distinguished road
Quote:
Originally Posted by Plana View Post
Hello everyone,

I have a problem similar to the OP. I installed Fluent 17.2 in my ubuntu 16.04 machine. The serial version works fine, but when I try to run the parallel version, I get the error:

p, li { white-space: pre-wrap; } /home/carlos/ansys/ansys_inc/v172/fluent/fluent17.2.0/bin/fluent: 501: [: pcmpi: unexpected operator
/home/carlos/ansys/ansys_inc/v172/fluent/fluent17.2.0/bin/fluent: 2395: /home/carlos/ansys/ansys_inc/v172/fluent/fluent17.2.0/bin/fluent: Bad substitution
The fluent process could not be started.


Error: eval: unassigned variable
Error Object: rp-3d?


I am already using the bash shell. I could not find any other hint about this problem. If anybody has some advice, I would really appreciate it.


Thanks in advance
Hi,

Did you manage to solve this issue? I have the exact same error when I installed V17.2!
Bashar is offline   Reply With Quote

Old   June 23, 2017, 01:55
Default
  #9
Member
 
Guiliguili
Join Date: Aug 2010
Location: Montréal
Posts: 97
Rep Power: 16
Touré is on a distinguished road
Zlatko answwer works fine for me (see the link Fluent 16.0.0 and Ubuntu 12.04)

However, make sure that mpi is already installed with one of the three command below
mpiexec --version
mpirun --version
ompi_info

If there is no mpi on your machine, install mpi such as openmpi with the command below (see the link http://lsi.ugr.es/~jmantas/pdp/ayuda...OpenMPI_en.pdf)

sudo apt-get install openmpi-bin openmpi-common openssh-client openssh-server libopenmpi1.3 libopenmpi-dbg libopenmpi-dev
Touré is offline   Reply With Quote

Old   July 8, 2017, 05:42
Default
  #10
New Member
 
Beijing
Join Date: Jul 2017
Posts: 2
Rep Power: 0
daviyu is on a distinguished road
I have the similar questions in fluent 18.0.0 and debian 8.3, the mpiexec --version is checked as open MPI 2.1.0.
the dpkg-reconfigure dash was tried and shown as:
-sh: 2: dpkg-reconfigure: not found
but bash is workable if i launch base manually.
daviyu is offline   Reply With Quote

Old   July 8, 2017, 20:20
Default
  #11
Member
 
Guiliguili
Join Date: Aug 2010
Location: Montréal
Posts: 97
Rep Power: 16
Touré is on a distinguished road
@Daviyu. It's strange but it seems that you are missing dpkg which is ususally installed by default on Ubuntu ( https://askubuntu.com/questions/1752...kg-reconfigure )
Code:
    sudo apt-get install debconf
or dpkg has to be fixed ( http://www.linuxquestions.org/questi...-found-463415/ )

Instead of reconfiguring dpkg, you can try also to launch fluent on your terminal by simply executing :
Code:
      bash fluent
Touré is offline   Reply With Quote

Old   January 8, 2018, 14:39
Default Ansys Fluent 17.2 on Ubuntu 14.04
  #12
New Member
 
stephan simonis
Join Date: Jan 2018
Posts: 1
Rep Power: 0
stephan_ is on a distinguished road
Dear all,

I do not have the exact same problem although it's a similiar setting. I installed Fluent on Ubuntu 14.04 (GeForce GTX 750, Intel® Core™ i7-4790K CPU) as suggested in the user's guide.

There were a few errors poppin up in the installation log file. Nevertheless the installation finished successfully and I am able to launch the program correctly.

The main issue is that when I launch the workbench via the terminal, and start by choosing a Fluid Flow (Fluent) analysis system and subsequently double click on the geometry, it opens the Design modeler but does not show the graphics window correctly (see screenshot).

I tried reinstalling the software a few times (also with dash disabled as you suggested above to solve the parallel/serial problem). It still does not work. On a Windows machine I did not encounter these problems.

I am sorry for any forum rules I disobeyed and am looking forward for your help!




thanks in advance.
Attached Images
File Type: jpg Screenshot from 2018-01-08 19:38:06.jpg (68.3 KB, 25 views)
stephan_ is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
FLUENT installation on UBUNTU 12.04 (LTS) teymourj FLUENT 2 March 1, 2017 23:24
Fluent Gambit in ubuntu 12.04 lts prithvi yesudas FLUENT 7 January 17, 2014 05:14
Openfoam 2.1 installation in ubuntu 12.04 jsm OpenFOAM Installation 11 May 7, 2012 05:56
ANSYS FLUENT 12.1.4 on ubuntu 10.04 mundhwam FLUENT 0 June 28, 2010 16:34
Ubuntu 7.10 and Fluent Gibbon FLUENT 1 November 13, 2007 03:08


All times are GMT -4. The time now is 17:46.