|
[Sponsors] |
February 7, 2010, 07:49 |
Fatal Error in file POSIX.C
|
#1 |
Senior Member
Sandy Lee
Join Date: Mar 2009
Posts: 213
Rep Power: 18 |
Hi foamers,
When I run "decomposePar" to my case, I got error stories again as follow: --> FOAM FATAL ERROR: Couldn't creat directory "/home/user/OpenFOAM/user-1.6.x/tutorials/multiphase/interPhaseChangeFoam/cavitatingBullet/processor1" From function Foam::mkDir(const fileName&, mode_t) in file POSIX.C at line 423.FOAM exiting I check the POSIX.C file at line 423, the code were written as follows: default: { FatalErrorIn("Foam::mkDir(const fileName&, mode_t)") << "Couldn't create directory " << pathName << exit(FatalError); return false; } What is wrong with it? Who can help me out? Thanks. Sandy |
|
February 7, 2010, 18:51 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Greetings Sandy,
Have you tried making the directory manually? There might already be a file named "processor1" or you might have reduced permissions on the case folder, for some strange reason... So, try this: Code:
mkdir /home/user/OpenFOAM/user-1.6.x/tutorials/multiphase/interPhaseChangeFoam/cavitatingBullet/processor1 Code:
ls -la /home/user/OpenFOAM/user-1.6.x/tutorials/multiphase/interPhaseChangeFoam/cavitatingBullet/
Additionally, in case you edited out your true user name and put in "user", it could be due to your user name having special characters or spaces in the name, thus making OpenFOAM to throw an error... although in Linux that shouldn't be an issue. Best regards, Bruno Santos |
|
February 7, 2010, 19:34 |
|
#3 | |
Senior Member
Sandy Lee
Join Date: Mar 2009
Posts: 213
Rep Power: 18 |
Quote:
|
||
February 7, 2010, 23:00 |
|
#4 |
Senior Member
Ahmed
Join Date: Mar 2009
Location: NY
Posts: 251
Rep Power: 18 |
Your error message, openfoam cannot create a directory, and Bruno Santos is telling you to create this folder manually and see what is wrong there
|
|
February 8, 2010, 06:25 |
|
#5 |
Senior Member
Sandy Lee
Join Date: Mar 2009
Posts: 213
Rep Power: 18 |
WOW, it is amazing ... I solved them! Thanks, anyway...
Last edited by sandy; February 8, 2010 at 07:58. |
|
February 8, 2010, 15:49 |
|
#6 |
Senior Member
Ahmed
Join Date: Mar 2009
Location: NY
Posts: 251
Rep Power: 18 |
Lee
I do not read private messages, you have anything to say, say it here. Again, the openfoam error message is very clear, the programme cannot create the folder, see why |
|
February 8, 2010, 18:31 |
|
#7 | |
Senior Member
Sandy Lee
Join Date: Mar 2009
Posts: 213
Rep Power: 18 |
Quote:
Why? .. |
||
February 9, 2010, 06:05 |
|
#8 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Hi Sandy,
Can you run: Code:
ls -la /home/user/OpenFOAM/user-1.6.x/tutorials/multiphase/interPhaseChangeFoam/cavitatingBullet/ Best regards, Bruno |
|
May 12, 2016, 13:52 |
|
#9 | |
Member
Peng Liang
Join Date: Mar 2014
Posts: 59
Rep Power: 12 |
Quote:
Helli Sandy, I have now the same problem with you and it also runs in parallel, coule you please tell me what's wrong with that? Best Regards, Peng |
||
May 22, 2017, 13:34 |
Unexpected Crash
|
#10 |
Senior Member
Hasan K.J.
Join Date: Dec 2011
Location: Bristol, United Kingdom
Posts: 200
Rep Power: 15 |
Hello All,
My simulations have been suddenly crashing with the following error and these are very expensive simulations on the cluster and I have no idea what is making them crash with this error any suggestions, they run well for a week or so and they then crash Code:
[10] [10] [10] [10] --> FOAM FATAL ERROR: [10] Couldn't create directory "/panfs/panasas01/aero/mk14466/WorkSpace/5.5Deg-Ref-DynSmag/processor10/0.0578987" [10] [10] From function Foam::mkDir(const fileName&, mode_t) [10] in file POSIX.C at line 555. [10] FOAM parallel run exiting [10] -------------------------------------------------------------------------- MPI_ABORT was invoked on rank 10 in communicator MPI_COMM_WORLD with errorcode 1. Hasan K.J
__________________
"Real knowledge is to know the extent of one's ignorance." - Confucius |
|
February 20, 2021, 00:46 |
disk size issue
|
#11 |
New Member
Eslam Reda
Join Date: Jun 2009
Posts: 19
Rep Power: 16 |
It is a disk size issue, free some space for the new files
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
tecio compilation errors in latest 1.6.x | rsamuel | OpenFOAM Bugs | 2 | June 25, 2021 08:10 |
Version 15 on Mac OS X | gschaider | OpenFOAM Installation | 113 | December 2, 2009 10:23 |
[Gmsh] Compiling gmshFoam with OpenFOAM-1.5 | BlGene | OpenFOAM Meshing & Mesh Conversion | 10 | August 6, 2009 04:26 |
Compiling OpenFOAM13 on AMD64 with Redhat Enterprise | mbeaudoin | OpenFOAM Installation | 20 | June 17, 2008 06:43 |
DxFoam reader update | hjasak | OpenFOAM Post-Processing | 69 | April 24, 2008 01:24 |