CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

error when compile a new solver on version 4.1

Register Blogs Community New Posts Updated Threads Search

Like Tree4Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 21, 2017, 06:23
Default
  #21
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,938
Rep Power: 39
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
And this part is your local cluster configuration problem. Or maybe problem of not careful enough reading of the cluster user guide.

Maybe someone else has desire to go through all these "and what is the contents of stderr log file?", "what log file?" "one with *.e<digits> name", "there is not such file" etc.
alexeym is offline   Reply With Quote

Old   February 23, 2017, 16:26
Default
  #22
Senior Member
 
Philippose Rajan
Join Date: Mar 2009
Location: Germany
Posts: 552
Rep Power: 25
philippose will become famous soon enough
Hello Bill,
A Good day to you.

Have you tried running each command of the bash script you have written as individual commands from the command prompt? That way, you can debug each command to see where the error is taking place.

Another option could be to try (at the command prompt):
Code:
./<scriptname> &> result.log
This will dump all the output which the script produces to the file, hence allowing you to debug it.

Hope this helps you a little.

Regards,
Philippose
6863523 and Kummi like this.
philippose is offline   Reply With Quote

Old   February 24, 2017, 05:58
Default
  #23
Senior Member
 
Bill Wang
Join Date: Aug 2014
Posts: 109
Rep Power: 12
6863523 is on a distinguished road
Quote:
Originally Posted by philippose View Post
Hello Bill,
A Good day to you.

Have you tried running each command of the bash script you have written as individual commands from the command prompt? That way, you can debug each command to see where the error is taking place.

Another option could be to try (at the command prompt):
Code:
./<scriptname> &> result.log
This will dump all the output which the script produces to the file, hence allowing you to debug it.

Hope this helps you a little.

Regards,
Philippose
Dear Philippose,
Thank you for your professional reply.
Problem solved.
Your way saved me a lot of time.Brilliant answer!!!
Have a good day.
Best,
Bill
6863523 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
Unable to compile solver hwsv07 OpenFOAM Programming & Development 10 February 21, 2018 10:41
Hybrid discretisation - blend factor gcoopermax CFX 5 September 23, 2016 09:05
paraview installation woes vex OpenFOAM Installation 15 January 30, 2011 08:11
bubbleFoam validation case balkrishna OpenFOAM Running, Solving & CFD 24 August 30, 2010 05:37
How to compile an unsteady solver based on solver of MRFSimpleFoam? renyun0511 OpenFOAM Running, Solving & CFD 0 April 27, 2010 12:16


All times are GMT -4. The time now is 20:47.