Hi,
I tried to reproduce your reported behaviour and turned only the sequential 
write option on.  Both time, on ufs and on pvfs2 I get outputs like:

Now testing:    Sequential Write
hints   total time(s)           MB/s    buffer size     total bytes
0          0.0066         29.6930       1024            202752
....
0         38.5876         20.7321       4194304         830472192
rank 1 in job 14  elric_55264   caused collective abort of all ranks
  exit status of rank 1: return code 13
[cli_1]: aborting job:
>Fatal error in MPI_Info_get_nkeys: Invalid argument, error stack:
>MPI_Info_get_nkeys(115): MPI_Info_get_nkeys(info=0x0, nkeys=0xbfb6bc24) 
failed
>MPI_Info_get_nkeys(65).: Invalid MPI_Info

If I changed the test to Sequential Read I get exactly the error mentioned:
cannot create file without MPI_MODE_CREATE
I changed the pio-bench open and added MPI_MODE_CREATE as Rajeev noticed. I 
enclosed the additional code line in a patch.

A new run gets this results:
Now testing:    Sequential Read
hints   total time(s)           MB/s    buffer size     total bytes
0          0.0648          3.0121       1024            202752
...
0          1.2952        617.6736       4194304         830472192
[cli_0]: aborting job:

Fatal error in MPI_Finalize: Other MPI error, error stack:
MPI_Finalize(220).........................: MPI_Finalize failed
MPI_Finalize(146).........................:
MPID_Finalize(206)........................: an error occurred while the device 
was waiting for all open connections to close
MPIDI_CH3_Progress_wait(199)..............: an error occurred while handling 
an event returned by MPIDU_Sock_Wait()

Its the same output  if I use a file like /tmp/test or if I use a 
pvfs2://pvfs/test. I use mpich1.0.3. 
If I miss the pvfs2 prefix the test uses UFS. I assume you have created the 
directory locally and set permissions to write/modify it as a user. 

Best regards,
julian
#TestFile "pvfs2://pvfs2-tas/l_fc_c_9.0.031.tar"
TestFile "/tmp/test"

<ap_module>
        ModuleName "Sequential Write"
#       ModuleReps 25
#       ModuleSettleTime 10
</ap_module>

--- pio-bench.c~	2006-05-12 17:37:28.000000000 +0200
+++ pio-bench.c	2006-05-18 18:33:18.000000000 +0200
@@ -814,6 +814,7 @@
 			if (only_avgs)
 			    results[k].num_hints = num_hints;
 			time_before_open = MPI_Wtime();
+			open_modes  = open_modes | MPI_MODE_CREATE;
 			switch( communicator_type[k] )
 			{
 			    case PIOB_FP_INDIVIDUAL:
_______________________________________________
Pvfs2-users mailing list
[email protected]
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users

Reply via email to