|
[Sponsors] |
![]() |
![]() |
#1 |
Senior Member
Phoevos
Join Date: Mar 2009
Posts: 104
Rep Power: 17 ![]() |
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. |
|
![]() |
![]() |
![]() |
![]() |
#2 |
New Member
Join Date: Mar 2009
Posts: 10
Rep Power: 17 ![]() |
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: and answer No to the question:
|
|
![]() |
![]() |
![]() |
![]() |
#3 |
Senior Member
Phoevos
Join Date: Mar 2009
Posts: 104
Rep Power: 17 ![]() |
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 |
|
![]() |
![]() |
![]() |
![]() |
#4 |
New Member
Join Date: Mar 2009
Posts: 10
Rep Power: 17 ![]() |
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/and system Qt libs will be used instead of ANSYS supplied. Best regards. |
|
![]() |
![]() |
![]() |
![]() |
#5 |
Senior Member
Phoevos
Join Date: Mar 2009
Posts: 104
Rep Power: 17 ![]() |
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. |
|
![]() |
![]() |
![]() |
![]() |
#6 | |
New Member
Join Date: Mar 2009
Posts: 10
Rep Power: 17 ![]() |
Quote:
Regards. |
||
![]() |
![]() |
![]() |
![]() |
#7 |
New Member
Join Date: Jun 2016
Posts: 2
Rep Power: 0 ![]() |
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 |
|
![]() |
![]() |
![]() |
![]() |
#8 | |
Member
Bashar
Join Date: Jul 2015
Posts: 74
Rep Power: 11 ![]() |
Quote:
Did you manage to solve this issue? I have the exact same error when I installed V17.2! |
||
![]() |
![]() |
![]() |
![]() |
#9 |
Member
Guiliguili
Join Date: Aug 2010
Location: Montréal
Posts: 97
Rep Power: 16 ![]() |
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 |
|
![]() |
![]() |
![]() |
![]() |
#10 |
New Member
Beijing
Join Date: Jul 2017
Posts: 2
Rep Power: 0 ![]() |
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. |
|
![]() |
![]() |
![]() |
![]() |
#11 |
Member
Guiliguili
Join Date: Aug 2010
Location: Montréal
Posts: 97
Rep Power: 16 ![]() |
@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 Instead of reconfiguring dpkg, you can try also to launch fluent on your terminal by simply executing : Code:
bash fluent |
|
![]() |
![]() |
![]() |
![]() |
#12 |
New Member
stephan simonis
Join Date: Jan 2018
Posts: 1
Rep Power: 0 ![]() |
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. |
|
![]() |
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
FLUENT installation on UBUNTU 12.04 (LTS) | teymourj | FLUENT | 2 | March 1, 2017 22:24 |
Fluent Gambit in ubuntu 12.04 lts | prithvi yesudas | FLUENT | 7 | January 17, 2014 04: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 02:08 |