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

Avoid message when using runApplication/RunParallel

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By s1291

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 29, 2021, 09:09
Default Avoid message when using runApplication/RunParallel
  #1
Member
 
Alejandro Valeije
Join Date: Nov 2014
Location: Spain
Posts: 52
Rep Power: 11
alexvaleije is on a distinguished road
Hi everyone,

I am creating a custom Allrun file, and, since I explain through "echo" the operation I am running at each instant, I would like to avoid the message that appears when using the function runApplication or runParallel.

Does anybody know how to disable that message? (without using simply the operation, because I want to avoid using mpirun instead of runParallerl)

Thanks in advance. Regards,

Alex
alexvaleije is offline   Reply With Quote

Old   November 29, 2021, 09:19
Default
  #2
Member
 
Alejandro Valeije
Join Date: Nov 2014
Location: Spain
Posts: 52
Rep Power: 11
alexvaleije is on a distinguished road
Just found a solution, sending the operations to another log with a non-used name. Sorry for the inconveniences. Anyhow, if anybody has a cleaner approach, it'd be nice if he let me know

Regards
alexvaleije is offline   Reply With Quote

Old   November 29, 2021, 09:26
Default
  #3
Member
 
s1291's Avatar
 
Join Date: Aug 2017
Location: Algeria
Posts: 98
Rep Power: 8
s1291 is on a distinguished road
You can redirect the output to /dev/null
alexvaleije likes this.
__________________
"When in doubt, use brute force." -- Ken Thompson
s1291 is offline   Reply With Quote

Old   November 29, 2021, 09:47
Default
  #4
Member
 
Alejandro Valeije
Join Date: Nov 2014
Location: Spain
Posts: 52
Rep Power: 11
alexvaleije is on a distinguished road
Quote:
Originally Posted by s1291 View Post
You can redirect the output to /dev/null

Well, I wasn't aware that existed. It's good to learn something new. Thank u very much!!
alexvaleije 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
cma-permission-denied message for parallel running choist31 OpenFOAM Running, Solving & CFD 4 August 3, 2023 13:07
SIGSEGV error when running UDF tricha122 Fluent UDF and Scheme Programming 2 November 26, 2020 10:27
Error message in CFX solver CFXer CFX 2 July 14, 2020 06:28
Injection initialization generate a segmentation fault!! zahrae Fluent UDF and Scheme Programming 11 July 9, 2019 19:00
Error Message on es-ice [BUG] Wendy Tjia Siemens 0 February 10, 2005 08:40


All times are GMT -4. The time now is 13:09.