charm AT lists.siebelschool.illinois.edu
Subject: Charm++ parallel programming system
List archive
- From: Ashmita Raju <ashmita.raju AT gmail.com>
- To: charm AT cs.illinois.edu
- Subject: [charm] Fwd: Invalid Logs
- Date: Wed, 19 Jul 2017 15:31:50 +0000
- Authentication-results: illinois.edu; spf=softfail smtp.mailfrom=ashmita.raju AT gmail.com
From: Ashmita Raju <ashmita.raju AT gmail.com>
Date: Wed, Jul 19, 2017, 8:40 PM
Subject: Re: [charm] Invalid Logs
To: Desouza, Shanna Marie <desouzas AT illinois.edu>
Fyi, I do not see an attachment; maybe the file is too large to send to mailing list as attachment. (10MB "total message size" restriction)
—
Shanna DeSouza Parallel Programming Laboratory
Coordinator of Research Programs http://charm.cs.illinois.edu
desouzas AT illinois.edu 4214 Siebel Center
217-244-9104 201 N. Goodwin Ave., Urbana, IL 61801
On 7/19/17, 6:49 AM, "Ashmita Raju" <ashmita.raju AT gmail.com> wrote:
Hi,
I ran a simple program with two processes and got the trace logs from the emulator. The program is attached for reference. I ran it on 2 processors and emulated it on 2 processors.
After using the loadlog tool to convert the logs to ascii the following message arises.
Loading bgTrace ...
========= BgLog Version: 6 =========
Found 2 (2x1x1:1w-1c) simulated procs on 2 real procs.
Loading bglog of proc 0 from bgTrace0 succeed.
Proc 0 has 38 events.
Error: Invalid log [0,#37]: startT: 0.006195 endT: -1.000000 execT: 0.000000
Loading bglog of proc 1 from bgTrace1 succeed.
Proc 1 has 48 events.
End of program
Why is there an error in the logs?
Thank you
Ashmita
--
Thank You
Best Regards,
Ashmita Raju
#include<stdio.h> #include<mpi.h> int main (int argc, char** argv) { MPI_Init(&argc, &argv); int x,dest,taskid,numtasks; MPI_Status status; MPI_Comm_rank(MPI_COMM_WORLD, &taskid); MPI_Comm_size(MPI_COMM_WORLD, &numtasks); if(taskid==0) { x=5; dest=1; printf("I am the master\n"); MPI_Send(&x, 1, MPI_INT, dest, 1, MPI_COMM_WORLD); } else { printf("I am the slave\n"); MPI_Recv(&x, 1, MPI_INT, 0, 1, MPI_COMM_WORLD, &status); printf("x is %d",x); } }
- [charm] Invalid Logs, Ashmita Raju, 07/19/2017
- Message not available
- Message not available
- [charm] Fwd: Invalid Logs, Ashmita Raju, 07/19/2017
- Message not available
- Message not available
Archive powered by MHonArc 2.6.19.