Welcome to the forums. Please post in English or French.

You are not logged in.

#1 2019-07-11 17:20:15

chenghui62000
Member
From: Norway
Registered: 2018-06-19
Posts: 74

How to switch off the log file writing on disk

Dear all,

I have a high leave question (at least for me) for the Code_Aster files management system.
First, please see a snapshot of the folder on my computer. (It is a temp folder for my specifical simulation)
FluxBB bbcode test

There is a very large file in this folder: fort.6 which I think is a temporary message file (.mess file).
And this file becomes larger with the simulation going.
The question is that: since I did not add the following line in the to the .export file to save the message file(see the attached file). Why this file still comes out on my computer? Can I enforce the fort.6 file not writing on my disk?
The 'tempt message file' eats a lot of space on my limited disk. And the situation becomes even worse when I run several simulations on the cluster simultaneously because we only have 4Gb individually. 

mess /home/hui/Documents/AllCodeRepository/coderepository/CodeAsterModule/inputfilescreator/mess.log R  6

In addition, I didn't find any documentation to explain the .export file, could you please give some learning links?

Best regards,
Hui Cheng

Last edited by chenghui62000 (2019-07-11 17:28:25)


Attachments:
testFh7.export, Size: 1.29 KiB, Downloads: 7

Offline

#2 2019-07-14 13:25:11

chenghui62000
Member
From: Norway
Registered: 2018-06-19
Posts: 74

Re: How to switch off the log file writing on disk

Dear all,
I have found that I can delete the fort.6 file in manually and it won't come out.
Because my calculation uses a python loop to assign the forces on a large number of nodes. The log file could be extremely huge.  When I run several cases simultaneously the disk will be eaten up.

By the way, removing the fort.6 file manually can be a (possible) solution to my previous question:

https://www.code-aster.org/forum2/viewtopic.php?id=24208

Offline

#3 2019-07-14 15:19:35

jeanpierreaubry
Guru
From: nantes (france)
Registered: 2009-03-12
Posts: 3,498

Re: How to switch off the log file writing on disk

hello

i solved likewise problem in id=23083
this implies setting the AFFE_CHAR_MECA in a separate file with INCLUDE in the main.comm file

jean pierre aubry

Offline

#4 2019-07-14 22:18:42

chenghui62000
Member
From: Norway
Registered: 2018-06-19
Posts: 74

Re: How to switch off the log file writing on disk

Hi Jean Pierre,

Thank you for your reply. It is very exciting for me. Could you please give more hints for that? For example, the id=23083 means? and how to use INCLUDE  in the main comm file?

Thank you very much!
Hui Cheng

Offline

#5 2019-07-15 08:05:11

jeanpierreaubry
Guru
From: nantes (france)
Registered: 2009-03-12
Posts: 3,498

Re: How to switch off the log file writing on disk

chenghui62000 wrote:

the id=23083 means?

this is the id of the post

chenghui62000 wrote:

and how to use INCLUDE  in the main comm file?

t

there is an example in chapter 18 in my book

Offline

#6 2019-07-15 10:00:38

chenghui62000
Member
From: Norway
Registered: 2018-06-19
Posts: 74

Re: How to switch off the log file writing on disk

Hi Jean Pierre,
I could not find the id=23083 post on this forum. Could you please share the link here?
Thank you very much for the knowledge sharing in your book chapter 17-19. It is very useful.
I will try this INCLUDE method for my cases.

Best regards,
Hui Cheng

Offline

#7 2019-07-15 14:33:23

jeanpierreaubry
Guru
From: nantes (france)
Registered: 2009-03-12
Posts: 3,498

Re: How to switch off the log file writing on disk

/forum2/viewtopic.php?id=23083
id=23083 is there another way to write it???????

Offline

#8 2019-07-16 08:52:23

chenghui62000
Member
From: Norway
Registered: 2018-06-19
Posts: 74

Re: How to switch off the log file writing on disk

Great! I should find it earlier.

Offline

Board footer