Hi David,

> For example, for the initial conditions, the code is supposed to output a 
> file with name:
>
> solution-0000000.vtu
>
> but then it also creates s file with name
>
> solution-0000000.vtu-1364024289-50151.lock
>
> This is what the support from the cluster told us about the issue:

The code you posted uses MPI I/O for parallel output. This lock file
is created by the operating system and to me it looks like the
filesystem you are writing to might be an NFS storage that is not set
up to work well with parallel IO. Generally, NSF is not a great option
for performance. It might also be that the file system is not
configured correctly.

I have a few suggestions:
1. Use a real parallel file system for IO (most clusters have support
for a fast parallel file system and a slow home directory on NSF)
2. Change the code to not use parallel IO (replace
write_vtu_in_parallel by a call to  write_vtu_with_pvtu_record() and
set n_groups = 0). This is slower, especially for large computations
with 100+ cores. You might need to change a couple of lines of code.
3. Talk to the admins to change/update the MPI implementation
(assuming this actually is a parallel file system)

Best,
Timo


-- 
Timo Heister
http://www.math.clemson.edu/~heister/

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/CAMRj59E1v%2BN3%3DXfmqLPV3NX_hhNuG_zwoMsejs_2b_6CL1Grng%40mail.gmail.com.

Reply via email to