[mpich-discuss] mpich2 and pvfs2 error

Dorian Krause ddkrause at uni-bonn.de
Fri Jul 24 09:42:51 CDT 2009


Rob Latham wrote:
> On Fri, Jul 24, 2009 at 02:45:53PM +0200, Dorian Krause wrote:
>   
>> /mnt/pvfs2 kraused$ /home/kraused/mpich2-1.1.1/bin/mpiexec -np 1  
>> /home/kraused/bnchmk/Filesystem/mpio pvfs2:///mnt/pvfs2/abc
>> [E 14:42:04.891854] invalid (NULL) required argument
>> [E 14:42:04.891992] PVFS_isys_create call: Invalid argument
>> [E 14:42:04.892686] invalid (NULL) required argument
>> [E 14:42:04.892717] PVFS_isys_create call: Invalid argument
>>     
>
> OK, take two!
>
> That 'invalid (NULL) required argument' message comes from this
> stanza:
>
> if ((parent_ref.handle == PVFS_HANDLE_NULL) ||
> 		 (parent_ref.fs_id == PVFS_FS_ID_NULL) ||
> 		 (object_name == NULL) || (resp == NULL))
> {
> 	gossip_err("invalid (NULL) required argument\n");
> 	return ret;
> }
>
>
> - 'resp' can't be null: we're declaring it on the stack in ROMIO
> - 'object_name' is the filename: probably ok
> - 'parent_ref' seems like the most likely suspect.  
>
> I wonder if something is getting confused with the multiple /// in the
> path name?  What does '/proc/mounts' 

The relevant line in /proc/mounts is

tcp://cub:3334/pvfs2-fs /mnt/pvfs2 pvfs2 rw 0 0

> or your fstab 
This is the line:

LABEL=/pvfs             /pvfs                   ext3    defaults        1 2

> or your pvfs2tab
>   

I don't have a /etc/pvfs2tab, only the /etc/fstab but I suspect this is 
normal ?!

> entry look like?
>
> What happens if you call your test with 'pvfs2:/mnt/pvfs2/abc'  ?
>   

The same,

/mnt/pvfs2 kraused$ /home/kraused/mpich2-1.1.1/bin/mpiexec -np 1 
/home/kraused/bnchmk/Filesystem/mpio pvfs2:/mnt/pvfs2/abc
[E 16:37:17.811641] invalid (NULL) required argument
[E 16:37:17.811782] PVFS_isys_create call: Invalid argument
[E 16:37:17.812253] invalid (NULL) required argument
[E 16:37:17.812279] PVFS_isys_create call: Invalid argument
 MPI_File_open returned -524286
 MPI_Error_string(-524286) = Undefined dynamic error code

In fact, if I touch /mnt/pvfs2/abc before calling the test, every works. 
I can also do

/mnt/pvfs2 kraused$ /home/kraused/mpich2-1.1.1/bin/mpiexec -np 1 
/home/kraused/bnchmk/Filesystem/mpio ufs://mnt/pvfs2/abc
 MPI_File_open returned 0
 MPI_Error_string(0) = No MPI error

without any problems.

Thanks,
Dorian


> ==rob
>   



More information about the mpich-discuss mailing list