[mvapich-discuss] Solaris x86
Di Domenico, Michael
mdidomenico at silverstorm.com
Tue Apr 18 09:02:34 EDT 2006
Matthew,
bash-3.00# tcsh
tcsh: using dumb terminal settings.
# /opt/mvapich/bin/mpirun_rsh -np 2 tse41-ib tse42-ib
DAPL_PROVIDER="ibd0" ./cpi
/opt/mvapich/bin/mpirun_rsh: Invalid argument.
#
bash-3.00# cat > print.pl
#!/usr/bin/perl
foreach my $i (0 .. $#ARGV) { print "$i: $ARGV[$i]\n"; }
bash-3.00# perl print.pl
bash-3.00# perl print.pl -np 2 tse41-ib tse42-ib DAPL_PROVIDER="ibd0"
./cpi
0: -np
1: 2
2: tse41-ib
3: tse42-ib
4: DAPL_PROVIDER=ibd0
5: ./cpi
bash-3.00#
-----Original Message-----
From: Matthew Koop [mailto:koop at cse.ohio-state.edu]
Sent: Monday, April 17, 2006 9:37 PM
To: Di Domenico, Michael
Cc: lei chai; mvapich-discuss at cse.ohio-state.edu
Subject: RE: [mvapich-discuss] Solaris x86
Michael,
I'm wondering if it may be some issue with your shell. Can you try
running
the commands in another shell, like tcsh, and see what happens?
If that doesn't work, can you try running the following script? Just
copy
the parts between the "---"s into a file called print.pl. This will just
make sure there isn't any strange shell expansion going on.
print.pl
----------------------
#!/usr/bin/perl
foreach my $i (0 .. $#ARGV) { print "$i: $ARGV[$i]\n"; }
----------------------
# Then make it executable
chmod a+x print.pl
# Try running it with some parameters
./print.pl -np 2 tse41-ib tse42-ib DAPL_PROVIDER="ibd0" ./cpi
It should print:
0: -np
1: 2
2: tse41-ib
3: tse42-ib
4: DAPL_PROVIDER=ibd0
5: ./cpi
if everything is working normally.
Please let us know the outcome of this. Thanks,
Matthew Koop
On Mon, 17 Apr 2006, Di Domenico, Michael wrote:
> Lei,
>
>
>
> Thanks for the reply, but it still doesn't work...
>
>
>
> --- first try with mpirun_rsh
>
>
>
> bash-3.00# /opt/mvapich/bin/mpirun_rsh -np 2 tse41-ib tse42-ib
> DAPL_PROVIDER="ibd0" ./cpi
>
> bash: /opt/mvapich/bin/mpirun_rsh: Invalid argument
>
>
>
> --- second try with mpirun (just to see what happens)
>
>
>
> bash-3.00# /opt/mvapich/bin/mpirun -np 2 tse41-ib tse42-ib
> DAPL_PROVIDER="ibd0" ./cpi
>
> Warning: Command line arguments for program should be given
>
> after the program name. Assuming that tse42-ib is a
>
> command line argument for the program.
>
> Warning: Command line arguments for program should be given
>
> after the program name. Assuming that DAPL_PROVIDER=ibd0 is a
>
> command line argument for the program.
>
> Unrecognized argument tse41-ib ignored.
>
> Cannot find MPIRUN machine file for machine udapl
>
> and architecture solaris86 .
>
> (No device specified.)
>
> bash-3.00#
>
>
>
> ________________________________
>
> From: lei chai [mailto:chai.15 at osu.edu]
> Sent: Monday, April 17, 2006 4:50 PM
> To: Di Domenico, Michael; mvapich-discuss at cse.ohio-state.edu
> Subject: Re: [mvapich-discuss] Solaris x86
>
>
>
> Hi,
>
>
>
> Thank you for trying out MVAPICH-0.9.7. Please use mpirun_rsh instead
of
> mpirun. And for using the uDAPL device, please specify an IAname, e.g.
>
>
>
> /opt/mvapich/bin/mpirun_rsh -np 2 node1 node2 DAPL_PROVIDER="IAname"
> ./cpi
>
>
>
> The IAname can be found in /etc/dat/dat.conf, it is the first field.
>
>
>
> Hope this helps.
>
>
>
> Regards,
>
> Lei
>
>
>
> ----- Original Message -----
>
> From: Di Domenico, Michael <mailto:mdidomenico at silverstorm.com>
>
>
> To: mvapich-discuss at cse.ohio-state.edu
>
> Sent: Monday, April 17, 2006 4:06 PM
>
> Subject: [mvapich-discuss] Solaris x86
>
>
>
> I'm trying to get Mvapich 0.9.7 to compile and run on Solaris 10
> 1/06 x86 using the GNU toolset downloaded from sunfreeware.com...
>
>
>
> I'm attaching the outputs from ./make.mvapich.udapl.
>
>
>
> Everything seems to compile, but I don't ever seem to get a
> mpirun.udapl file... Any clue's that I missed from the make outputs?
>
>
>
> bash-3.00# cd /opt/mvapich/examples/
>
> bash-3.00# ls
>
> cpi cpi.o cpip.c Makefile MPI-2-C++
> README
>
> cpi.c cpilog.c hello++.cc Makefile.in mpirun
> simpleio.c
>
> bash-3.00# ./mpirun ./cpi
>
> Cannot find MPIRUN machine file for machine udapl
>
> and architecture solaris86 .
>
> (No device specified.)
>
> bash-3.00# sh -x ./mpirun ./cpi
>
> ....output truncated....
>
> + [ -x /opt/mvapich/bin/mpirun.udapl ]
>
> + echo Cannot find MPIRUN machine file for machine udapl
>
> Cannot find MPIRUN machine file for machine udapl
>
> + echo and architecture solaris86 .
>
> and architecture solaris86 .
>
> + [ -n ]
>
> + echo (No device specified.)
>
> (No device specified.)
>
> + exit 1
>
> bash-3.00# ls /opt/mvapich/bin
>
> mpiCC mpiman mpirun.args
> mpirun_dbg.ddd mpirun_dbg.xxgdb
>
> mpicc mpireconfig mpirun.vapi
> mpirun_dbg.gdb mpirun_rsh
>
> mpichversion mpireconfig.dat mpirun.vapi.args
> mpirun_dbg.ladebug tarch
>
> mpicxx mpirun mpirun_dbg.dbx
> mpirun_dbg.totalview tdevice
>
>
> ________________________________
>
>
> _______________________________________________
> mvapich-discuss mailing list
> mvapich-discuss at cse.ohio-state.edu
> http://mail.cse.ohio-state.edu/mailman/listinfo/mvapich-discuss
>
>
More information about the mvapich-discuss
mailing list