CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Mesh Generation & Pre-Processing Software > enGrid

engrid 1.4 installation problem on ubuntu 14.04

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By santoo_cfd

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 4, 2014, 15:32
Question engrid 1.4 installation problem on ubuntu 14.04
  #1
New Member
 
Roberto
Join Date: May 2014
Location: Italy
Posts: 4
Rep Power: 12
Neo by Matrix is on a distinguished road
hi,
I have followed the procedure described in this site:

https://github.com/enGits/engrid/wik...D-Installation

but when I run from terminal the command at the step 7, engrid is not loaded, the terminal says so (translated in english ) :

roberto@roberto-N56JRH:~/engrid/src$ ./start_engrid.bash
./start_engrid.bash: line 3: ./engrid: no such File or directory

I haven't still installed openfoam, but I don't believe that is this the problem.
I'm new forum user, I don't know if must open a new topic or use this one...

thanks a lot in advance.
Roberto
Neo by Matrix is offline   Reply With Quote

Old   May 4, 2014, 15:53
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings Roberto and welcome to the forum!

Sorry, I haven't managed to update enGrid's wiki page yet.

In the mean time, please follow the instructions on the following posts:
  1. http://www.cfd-online.com/Forums/eng...tml#post475089 post #4
  2. http://www.cfd-online.com/Forums/eng...tml#post475109 post #6
Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   May 5, 2014, 04:23
Default
  #3
New Member
 
Roberto
Join Date: May 2014
Location: Italy
Posts: 4
Rep Power: 12
Neo by Matrix is on a distinguished road
i have qt4:
"QMake version 2.01a
Using Qt version 4.8.6 in /usr/lib/x86_64-linux-gnu
"
I've follow also the post #6
I don't have any problem during the installation, but the program doesn't start, in /home/roberto/engrid/src/start_engrid.bash there are the following commands:
#!/bin/bash
export LD_LIBRARY_PATH=./libengrid:./netgen_svn:$LD_LIBRARY_PATH
./engrid

I'm not an expert of informatic field, however these are my tentatives:
roberto@roberto-N56JRH:~/engrid$ ./build.bash
usage :
build.bash CONFIGURATION
CONFIGURATION = fedora
ubuntu
opensuse-11.2
opensuse-11.3
opensuse-11.4
opensuse-12.1
opensuse-12.2
roberto@roberto-N56JRH:~/engrid$ ./setup_ubuntu.bash
[sudo] password for roberto:
Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze
Lettura informazioni sullo stato... Fatto
qt4-dev-tools è già alla versione più recente.
libvtk5-qt4-dev è già alla versione più recente.
0 aggiornati, 0 installati, 0 da rimuovere e 7 non aggiornati.
You can start enGrid by typing 'engrid' from the command line (as non-root user) or with the help of the desktop menus.


roberto@roberto-N56JRH:~$ engrid
/home/roberto/engrid/run.bash: line 26: /home/roberto/engrid/src/engrid: no such File or directory

maybe the problem is more simple than it seems...

thanks for your fast reply !
Rb
Neo by Matrix is offline   Reply With Quote

Old   May 8, 2014, 13:18
Default
  #4
New Member
 
Roberto
Join Date: May 2014
Location: Italy
Posts: 4
Rep Power: 12
Neo by Matrix is on a distinguished road
nobody have an idea ? also in my dash appear the engrid icon but nothing happens when I click on it.

rb
Neo by Matrix is offline   Reply With Quote

Old   May 8, 2014, 15:52
Default
  #5
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Hi Roberto,

I haven't managed to look into this sooner, but I re-read your previous post and it seems you missed an important detail... when you ran:
Code:
./build.bash
it told you that a parameter was missing. You should have then run:
Code:
./build.bash ubuntu
Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   May 9, 2014, 05:28
Default
  #6
New Member
 
Roberto
Join Date: May 2014
Location: Italy
Posts: 4
Rep Power: 12
Neo by Matrix is on a distinguished road
the problem is always the same, nothing is changed, probably, I will install it on windows 8 ...
thanks anyway Bruno
Neo by Matrix is offline   Reply With Quote

Old   June 17, 2014, 14:24
Default
  #7
Member
 
Gowain
Join Date: May 2014
Location: Ireland
Posts: 86
Rep Power: 12
eaglemckenna is on a distinguished road
Hi
I am now using Ubuntu 14.04, I have no problem with the installation up until the command to start the programme. After the engrid build when I run the command,
./start_engrid.bash

engrid will not run.
this is the terminal messages:
g++ -m64 -Wl,-O1 -o engrid release/main.o release/qrc_engrid.o -L/usr/lib/x86_64-linux-gnu -L/usr/X11R6/lib64 -lm -ltcl8.5 -L./libengrid -lengrid -L./netgen_svn -lng -L/usr/lib -lQVTK -lvtkCommon -lvtkDICOMParser -lvtkexoIIc -lvtkFiltering -lvtkftgl -lvtkGenericFiltering -lvtkGraphics -lvtkHybrid -lvtkImaging -lvtkIO -lvtkRendering -lvtksys -lvtkVolumeRendering -lvtkWidgets -lpthread -lQtXml -lQtOpenGL -lQtGui -lQtNetwork -lQtCore -lGL
/usr/bin/ld: cannot find -ltcl8.5
collect2: error: ld returned 1 exit status
make[2]: *** [engrid] Error 1
make[2]: Leaving directory `/home/gowain/engrid/src'
make[1]: *** [release] Error 2
make[1]: Leaving directory `/home/gowain/engrid/src'
make: *** [sub-engrid-pro-app-make_default-ordered] Error 2
gowain@gowain-Aspire-V5-122P:~/engrid/src$ ./start_engrid.bash
./start_engrid.bash: line 3: ./engrid: No such file or directory
gowain@gowain-Aspire-V5-122P:~/engrid/src$ ./build.bash ubuntu
bash: ./build.bash: No such file or directory
gowain@gowain-Aspire-V5-122P:~/engrid/src$

I am aware that another user had a similar problem and although I followed the threat I can not get to the bottom of this.

please help
eaglemckenna is offline   Reply With Quote

Old   June 17, 2014, 14:35
Default
  #8
Member
 
Gowain
Join Date: May 2014
Location: Ireland
Posts: 86
Rep Power: 12
eaglemckenna is on a distinguished road
It seems there is a file missing; I am sure the solution is a simple one I just need a bit of guidance:

gowain@gowain-Aspire-V5-122P:~$ engrid
/home/gowain/engrid/run.bash: line 26: /home/gowain/engrid/src/engrid: No such file or directory
gowain@gowain-Aspire-V5-122P:~$
eaglemckenna is offline   Reply With Quote

Old   June 17, 2014, 14:38
Default
  #9
Member
 
Gowain
Join Date: May 2014
Location: Ireland
Posts: 86
Rep Power: 12
eaglemckenna is on a distinguished road
line 24 to 26 in the gedit reads:
dir=`dirname $0`
export LD_LIBRARY_PATH=$dir/src/libengrid:$dir/src/netgen_svn:$LD_LIBRARY_PATH
$dir/src/engrid
eaglemckenna is offline   Reply With Quote

Old   June 21, 2014, 03:19
Default
  #10
New Member
 
Join Date: Aug 2013
Posts: 18
Rep Power: 13
p0kerus is on a distinguished road
according to error tcl8.5 is not installed on your system ; please install it and report error again
p0kerus is offline   Reply With Quote

Old   June 21, 2014, 12:18
Default
  #11
Member
 
Gowain
Join Date: May 2014
Location: Ireland
Posts: 86
Rep Power: 12
eaglemckenna is on a distinguished road
Thanks guys! Sorted. I can now use engrid for CFD simulations instead of using the tedious numerical blockmeshDict file approach for openfoam!
Looking forward to getting stuck into summer MSc project on aircraft passenger thermal comfort.
kind regards
I hope neo by matrix gets sorted too, if not. shoot me a message!
eaglemckenna is offline   Reply With Quote

Old   January 28, 2015, 09:23
Default
  #12
New Member
 
Join Date: Jan 2015
Posts: 2
Rep Power: 0
deviljho is on a distinguished road
Hi eagle mckenna
can you tell me how do you finally solved the problem?
i have the same problem...
deviljho is offline   Reply With Quote

Old   February 1, 2015, 21:59
Talking solution
  #13
Member
 
Gowain
Join Date: May 2014
Location: Ireland
Posts: 86
Rep Power: 12
eaglemckenna is on a distinguished road
OK, you need to install the following:
download the tar from this link: http://packages.ubuntu.com/trusty/tcl8.5
and as root move the corresponding files to: http://packages.ubuntu.com/trusty/amd64/tcl8.5/filelist
let me know if this works!
g
eaglemckenna is offline   Reply With Quote

Old   February 1, 2015, 23:29
Lightbulb solution revisited
  #14
Member
 
Gowain
Join Date: May 2014
Location: Ireland
Posts: 86
Rep Power: 12
eaglemckenna is on a distinguished road
i have had to install engrid on my home machine: the solution to the error is tedious, you may not need to do the above: download the following via a mirror link:
http://packages.ubuntu.com/trusty/am...cl8.5/download
unzip it
as root within terminal move the files to their corresponding directories.
take care.
let me know how it goes.
g
eaglemckenna is offline   Reply With Quote

Old   January 29, 2016, 09:06
Default
  #15
Member
 
santhosh
Join Date: Apr 2009
Location: India
Posts: 70
Rep Power: 17
santoo_cfd is on a distinguished road
I am not sure whether you were able to solve this issue or not. The error during Make is due to missing tcl library as shown below.
Code:
/usr/bin/ld: cannot find -ltcl8.5
collect2: error: ld returned 1 exit status
make[2]: *** [engrid] Error 1
make[2]: Leaving directory `/home/skva/engrid/engrid/src'
make[1]: *** [release] Error 2
make[1]: Leaving directory `/home/skva/engrid/engrid/src'
make: *** [sub-engrid-pro-app-make_default-ordered] Error 2
Simple fix to this to install this library seperately which can be done by executing
Code:
sudo apt-get install tcl8.5
After this, just re run
Code:
source build.bash ubuntu
wyldckat likes this.

Last edited by santoo_cfd; January 31, 2016 at 04:18.
santoo_cfd 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
Installation problem on Ubuntu gara1988 OpenFOAM Installation 1 October 15, 2012 11:00
Installation Problem with ParaView 3.12.0 on Scientific Linux 5.7 Wley OpenFOAM Installation 2 September 28, 2012 07:06
Problem? with Installation of OpenFOAM 2.1.0 on to Ubuntu 10.4.4 VirtualBox Stubby OpenFOAM Installation 8 March 5, 2012 16:12
Problem Installing OF 1.6 Ubuntu 9.10 (64 bit) - How to use GCC 4.4.1 Future Science OpenFOAM Installation 43 November 10, 2011 08:17
Installation of OpenFOAM-1.6 on Ubuntu 9.10 marval OpenFOAM Installation 2 March 17, 2010 09:33


All times are GMT -4. The time now is 11:24.