Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ptp-user] PTP and performance tools

Actually I'm going on vacation for a couple days so I won't be able to get right to this, but if you send an email to tau-users@xxxxxxxxxxxxxxx someone should be able to help with setting it up on that platform. It's a good idea to make sure tau is working on the command line on your system before you try running it through Eclipse.
Regards,
Wyatt Spear


On Mon, Mar 31, 2014 at 9:29 PM, Peter Bryzgalov <pyotr777@xxxxxx> wrote:

Hello, Wyatt,
I really appreciate your help.

Though pprof is on the PATH, it is not in a bin directory, but in utils. And there is no lib directory with makefiles. 
I suppose I didn’t installed/configured TAU properly. 


I configured TAU with the following options:
./configure -mpi  -MPITRACE  -mpilib=/opt/FJSVfxlang/1.2.1/lib64  -c++=mpiFCCpx  -cc=mpifccpx  -fortran=mpifrtpx  -mpiinc=/opt/FJSVfxlang/1.2.1/include/mpi/fujitsu  -prefix=/home/peterbryz/tau-2.23 

Configuration finished without errors. 
But when I try to make TAU I get an error:

I am compiling TAU at a login node of FX10 supercomputer. FX10 is a smaller computer similar to K, with Fujitsu SPARC CPUs on compute nodes. 

Even though Make is failing, I now have pprof in bin directory under x86_64, and also a Makefile. I put x86_64/bin onto the PATH and now in Eclipse in profiling options I can select this Makefile!
But still, though profiling seems to start, I do not see any profiling data.
Here is the output I see in console when I start profiling:
------------------
13:09:28 **** Build of configuration Release for project C_MPI ****
make -f Makefile_FX10 all 
/home/peterbryz/tau-2.23/x86_64/bin/tau_cc.sh  -tau_options='-optCompInst -optNoRevert' -tau_makefile=/home/peterbryz/tau-2.23/x86_64/lib/Makefile.tau-mpi-mpitrace-fujitsu  -V -Kfast,parallel,optmsg=2 -o C_MPI.exe src/C_MPI.c 
fccpx: Fujitsu C/C++ Compiler Driver Version 1.2.1 P-id: T01641-02 (Jul 29 2013 14:38:36)
ccpcompx: Fujitsu C/C++ Compiler Version 1.2.1 P-id: T01641-03 (Nov  7 2013 10:51:31)
Parallelization messages
  jwd5142p-i  "src/C_MPI.c", line 44: This loop is not parallelized because its iteration count is uncertainty.
  jwd6142s-i  "src/C_MPI.c", line 44: SIMD conversion is not applied to this loop because the iteration count is uncertainty.
  jwd8664o-i  "src/C_MPI.c", line 44: This loop is not software pipelined because the loop contains an instruction not covered by the software pipelining, such as function call.
GNU assembler version 2.17 (sparc64-unknown-linux-gnu) using BFD version 2.17
GNU ld version 2.17
  Supported emulations:
   elf64_sparc
   elf32_sparc
   sparclinux
   sun4
> Shell Completed (exit code = 0)

13:09:31 Build Finished (took 3s.98ms)
------------------

Is it necessary to compile TAU for SPARC architecture to run it on compute nodes, so that to be able to trace programs running on K or FX10? Is SPARC architecture supported?
In setup GUI I can find a coupe of Solaris and Sun architectures: 
Do you think they are usable with K (and FX10)? 

Kind regards,
Peter

P.S. Is it OK to use this mailing list for detailed questions, such as about SPARC architecture, TAU installation details etc.?

On 1 Apr, 2014, at 2:26, Wyatt Spear <wspear@xxxxxxxxxxxxxx> wrote:

Greetings,
The checkboxes above the makefile selection box limited the shown makefiles to those that include the checked options. Try unchecking all of the checkboxes and see if your makefile is getting excluded. If that doesn't work make sure that running 'which pprof' on the command line finds the pprof installed in your TAU bin directory and that the lib directory next door to that bin directory contains your Makefile.tau-<etc> files. If that is all set up properly than Eclipse isn't getting your path for some reason. Let me know if that's the case and I'll take a deeper look.
Regards,
Wyatt


On Sun, Mar 30, 2014 at 11:53 PM, Peter Bryzgalov <pyotr777@xxxxxx> wrote:
Hi, Wyatt!

Thank you very much for your answer!

I am working in Riken, Japan. I am trying to adopt Eclipse PTP for K computer. In particular, now I’m working on making profiling tools like TAU and ScoreP available for PTP. A few days ago I have met with Brian Wylie form Julich SC, and he recommended you as the person who can help me, and there you have answered to me!

I have tried to follow your advice on the second problem, but I keep getting the same error though I think I disabled profiling.
So I tested profiling with other project in C with MPI. Now the program runs without errors, but I don’t see any profiling data.

Below are screenshots with my settings. What am I doing wrong? 
On the target machine I installed TAU in my home directory and put it on the PATH. 

Kind regards,
Peter

<PIc_c_-_Eclipse_-__Users_peterbryzgalov_work_workspacePTP_and_peterbryzgalov_--_peterbryz_fx02p08___syncedMPIc_--_ssh_--_125×50.jpg>

In tutorial Ptp-xsede2013 there is an option to select Makefile.tau-mpi-pdt. I have a Makefile in my project, but don’t have any options in this list. Should I worry about it?



<screen2.jpg>

<PastedGraphic-1.png>

<PastedGraphic-2.png>

<PastedGraphic-3.png>


On 29 Mar, 2014, at 2:12, Wyatt Spear <wspear@xxxxxxxxxxxxxx> wrote:

Greetings,

Current versions of the PTP/ETFw and the included tools have switched from using the original sax parser to the jaxb parser. Your sample workflow uses the older sax schema. You can switch to using the sax parser by selecting it in the ETFw Parser box on the same External Tools preference page where you added your xml file. I don't think the sax parser has been tested recently so please let us know if you run into any issues.

As for the second problem, can you confirm that your application runs remotely as expected when submitting it as a regular remote run instead of an ETFw run? The final submission of the job to the queue should work the same in both cases so knowing this will help track down the issue.

Thanks,
Wyatt Spear

_______________________________________________
ptp-user mailing list
ptp-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-user


_______________________________________________
ptp-user mailing list
ptp-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-user

_______________________________________________
ptp-user mailing list
ptp-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-user



Back to the top