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

Fluent 16.0.0 and Ubuntu 12.04

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree6Likes
  • 6 Post By Zlatko

Reply
 
LinkBack Thread Tools 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: 103
Rep Power: 10
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, 01:38
Default
  #2
New Member
 
Zlatko's Avatar
 
Join Date: Mar 2009
Posts: 10
Rep Power: 10
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, 03:44
Default
  #3
Senior Member
 
Phoevos
Join Date: Mar 2009
Posts: 103
Rep Power: 10
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, 06:34
Default
  #4
New Member
 
Zlatko's Avatar
 
Join Date: Mar 2009
Posts: 10
Rep Power: 10
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, 06:48
Default
  #5
Senior Member
 
Phoevos
Join Date: Mar 2009
Posts: 103
Rep Power: 10
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, 06:56
Default
  #6
New Member
 
Zlatko's Avatar
 
Join Date: Mar 2009
Posts: 10
Rep Power: 10
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
Plana is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
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 04:56
ANSYS FLUENT 12.1.4 on ubuntu 10.04 mundhwam FLUENT 0 June 28, 2010 15:34
Ubuntu 7.10 and Fluent Gibbon FLUENT 1 November 13, 2007 03:08


All times are GMT -4. The time now is 06:43.