[mpich-discuss] mpi executable

Jayesh Krishna jayesh at mcs.anl.gov
Mon Jun 25 09:38:15 CDT 2012


Hi,
 Good to know it worked for you.

Regards,
Jayesh

----- Original Message -----
From: "Titianingrum -" <08.5831 at stis.ac.id>
To: "Jayesh Krishna" <jayesh at mcs.anl.gov>
Sent: Sunday, June 24, 2012 8:33:56 PM
Subject: Re: [mpich-discuss] mpi executable

Hi,
Yes, you're right. It's caused I use domain user not username.
Thanks. You're helpful.

Regards,
Titia

On 6/22/12, Jayesh Krishna <jayesh at mcs.anl.gov> wrote:
> Hi,
>  You might want to check with your system administrator to find the correct
> Windows username (If you are a domain user you need to include the domain
> name too) and password.
>  When launching from VS it does not go through mpiexec (auth step etc).
> However you cannot launch your job across different machines using this
> method.
>
> Regards,
> Jayesh
>
> ----- Original Message -----
> From: "Titianingrum -" <08.5831 at stis.ac.id>
> To: "Jayesh Krishna" <jayesh at mcs.anl.gov>
> Sent: Friday, June 22, 2012 11:00:07 AM
> Subject: Re: [mpich-discuss] mpi executable
>
> Hi,
> I do it before, but "FAIL" forever.
> First time, I used username and password which deference from Windows
> username and password. Next, I use it same. They're "FAIL".
>
> By the way. Why from Visual Studio still run well but not from Command
> Prom?
> Thanks.
>
> Regards,
> Titia
>
> On 6/22/12, Jayesh Krishna <jayesh at mcs.anl.gov> wrote:
>> Hi,
>>  You should register (mpiexec -register) a valid Windows
>> username/password
>> before launching your job with mpiexec. You can validate (see if it
>> works)
>> the registered username/password using "mpiexec -validate".
>>  Let us know if it works for you.
>>
>> Regards,
>> Jayesh
>>
>> ----- Original Message -----
>> From: "Titianingrum -" <08.5831 at stis.ac.id>
>> To: "Jayesh Krishna" <jayesh at mcs.anl.gov>
>> Sent: Thursday, June 21, 2012 4:59:42 PM
>> Subject: Re: [mpich-discuss] mpi executable
>>
>> This is just simple code:
>>
>> #include "stdio.h"
>> #include "mpi.h"
>>
>> int main(int argc, char *argv[])
>> {
>> 	int numberOfProcessors;
>> 	int rank;
>> 	int namelen;
>> 	char processor_name[MPI_MAX_PROCESSOR_NAME];
>>
>> 	MPI_Init(&argc,&argv);
>> 	printf("Hello MPI\r\n");
>> 	MPI_Comm_size(MPI_COMM_WORLD,&numberOfProcessors);
>> 	printf("Number of processor = %d\r\n",numberOfProcessors);
>> 	MPI_Get_processor_name(processor_name,&namelen);
>> 	printf("Processor name = %s\r\n",processor_name);
>> 	MPI_Comm_rank(MPI_COMM_WORLD,&rank);
>> 	printf("Rank = %d\r\n",rank);
>> 	MPI_Finalize();
>> 	getchar();
>> 	return 0;
>> }
>>
>> -------------------------------------------------------------------------------
>> When it was run use Visual Studio C++, output :
>>
>> Hello MPI
>> Number of processor = 1
>> Processor name = titia.Titia
>> Rank = 0
>> --------------------------------------------------------------------------------------------------------------
>> * but when it was runed from Command Prom:
>>
>> C:\Program Files\MPICH2\bin\>mpiexec "E:\HelloMPI\Debug\HelloMPI.exe" -n
>> 1
>> Credentials for titia rejected cennecting to titia.Titia
>> Aborting: Unable to connect to titia.Titia
>> --------------------------------------------------------------------------------------------------------------
>> I have setting like as the other PC which no problem.
>>
>> Thanks.
>>
>>
>> On 6/22/12, Jayesh Krishna <jayesh at mcs.anl.gov> wrote:
>>> Hi,
>>>  Can you provide us more details (The command used, output etc) on your
>>> problem?
>>>
>>> Regards,
>>> Jayesh
>>> ----- Original Message -----
>>> From: "Titianingrum -" <08.5831 at stis.ac.id>
>>> To: mpich-discuss at mcs.anl.gov
>>> Sent: Thursday, June 21, 2012 3:49:16 AM
>>> Subject: [mpich-discuss] mpi executable
>>>
>>> Hi,
>>>
>>> I have any problem when run MPI file use cmd,but it's ok when run use
>>> visual studio c++.
>>> I don't know the problem.
>>>
>>> thank.
>>> _______________________________________________
>>> mpich-discuss mailing list     mpich-discuss at mcs.anl.gov
>>> To manage subscription options or unsubscribe:
>>> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
>>>
>>
>>
>> --
>> titia
>>
>
>
> --
> titia
>


-- 
titia


More information about the mpich-discuss mailing list