Skip to Content.
Sympa Menu

charm - Re: [charm] [ppl] Error running fractography3d

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

Re: [charm] [ppl] Error running fractography3d


Chronological Thread 
  • From: Laércio Lima Pilla <llpilla AT inf.ufrgs.br>
  • To: Orion Lawlor <lawlor AT alaska.edu>
  • Cc: charm AT cs.uiuc.edu, "M. Scot Breitenfeld" <brtnfld AT illinois.edu>
  • Subject: Re: [charm] [ppl] Error running fractography3d
  • Date: Wed, 30 Nov 2011 22:39:49 -0600
  • List-archive: <http://lists.cs.uiuc.edu/pipermail/charm>
  • List-id: CHARM parallel programming system <charm.cs.uiuc.edu>

Yes, it seems that I accidentally deleted that file before. Thank you very much for your fast reply.
Sadly, when I try to run the -read version (after the -write), I get the following error.

./fractography3d +p32 +vp256 -read +tcharm_stacksize 500000
Charm++: standalone mode (not using charmrun)
Converse/Charm++ Commit ID: v6.3.0-823-ge7a0e3c
TCharm> stack size is set to 500000.
Charm++> Running on 1 unique compute nodes (32-way SMP).
Charm++> cpu topology info is gathered in 0.018 seconds.
FEM> Reading fem_mesh_vp256_0.dat...
FEM> Reading fem_mesh_vp256_16.dat...
FEM> Reading fem_mesh_vp256_112.dat...
FEM> Reading fem_mesh_vp256_168.dat...
FEM> Reading fem_mesh_vp256_240.dat...
FEM> Reading fem_mesh_vp256_88.dat...
FEM> Reading fem_mesh_vp256_208.dat...
FEM> Reading fem_mesh_vp256_176.dat...
FEM> Reading fem_mesh_vp256_224.dat...
FEM> Reading fem_mesh_vp256_200.dat...
FEM> Reading fem_mesh_vp256_80.dat...
FEM> Reading fem_mesh_vp256_248.dat...
FEM> Reading fem_mesh_vp256_128.dat...
FEM> Reading fem_mesh_vp256_160.dat...
FEM> Reading fem_mesh_vp256_152.dat...
FEM> Reading fem_mesh_vp256_56.dat...
FEM> Reading fem_mesh_vp256_96.dat...
FEM> Reading fem_mesh_vp256_24.dat...
FEM> Reading fem_mesh_vp256_32.dat...
FEM> Reading fem_mesh_vp256_72.dat...
FEM> Reading fem_mesh_vp256_136.dat...
FEM> Reading fem_mesh_vp256_184.dat...
FEM> Reading fem_mesh_vp256_40.dat...
FEM> Reading fem_mesh_vp256_104.dat...
FEM> Reading fem_mesh_vp256_8.dat...
FEM> Reading fem_mesh_vp256_232.dat...
FEM> Reading fem_mesh_vp256_216.dat...
FEM> Reading fem_mesh_vp256_192.dat...
FEM> Reading fem_mesh_vp256_120.dat...
FEM> Reading fem_mesh_vp256_144.dat...
FEM> Reading fem_mesh_vp256_64.dat...
FEM> Reading fem_mesh_vp256_48.dat...
[160]  Driver called on          160                                                  
[200]  Driver called on          200                                                  
[16]  Driver called on           16                                                  
[128]  Driver called on          128                                                  
[112]  Driver called on          112                                                  
[152]  Driver called on          152                                                  
[24]  Driver called on           24                                                  
[192]  Driver called on          192                                                  
[0]  Driver called on            0                                                  
[48]  Driver called on           48                                                  
[88]  Driver called on           88                                                  
[40]  Driver called on           40                                                  
[80]  Driver called on           80                                                  
At line 582 of file feminp2.f90 (unit = 10, file = 'fractography3d.inp')
Fortran runtime error: Bad real number in item 1 of list input
[232]  Driver called on          232                                                  
------------- Processor 3 Exiting: Called CmiAbort ------------
Reason: unexpected call to exit by user program. Must use CkExit, not exit!
[240]  Driver called on          240                                                  
[8]  Driver called on            8                                                  
[64]  Driver called on           64                                                  
[176]  Driver called on          176                                                  
[144]  Driver called on          144                                                  
[32]  Driver called on           32                                                  
[56]  Driver called on           56                                                  
[208]  Driver called on          208                                                  
[136]  Driver called on          136                                                  
[216]  Driver called on          216                                                  
[96]  Driver called on           96                                                  
[248]  Driver called on          248                                                  
[224]  Driver called on          224                                                  
[168]  Driver called on          168                                                  
[72]  Driver called on           72                                                  
[120]  Driver called on          120                                                  
[104]  Driver called on          104                                                  
[184]  Driver called on          184                                                  
[3] Stack Traceback:
  [3:0] CmiAbort+0x7a  [0x6e6b87]
  [3:1]   [0x6e69cf]
  [3:2] +0x36d82  [0x7ff1f0ebbd82]
  [3:3] +0x36dd5  [0x7ff1f0ebbdd5]
  [3:4] +0x1c58c  [0x7ff1f1de758c]
  [3:5] _gfortran_generate_error+0x178  [0x7ff1f1de7d48]
  [3:6] +0xd0224  [0x7ff1f1e9b224]
  [3:7] +0xd3076  [0x7ff1f1e9e076]
  [3:8] dynamic_sub_+0xec  [0x54e0cc]
  [3:9] feminp2_+0x795  [0x54ecd5]
  [3:10] driver_+0x1af  [0x54509f]
  [3:11] _Z13AMPI_Main_cppiPPc+0x14a  [0x540902]
  [3:12] AMPI_Fallback_Main+0x20  [0x5ebfac]
  [3:13] _ZN17MPI_threadstart_t5startEv+0x5a  [0x610274]
  [3:14] AMPI_threadstart+0x37  [0x5ec496]
  [3:15]   [0x5e2aee]
  [3:16] CthStartThread+0x59  [0x61d62a]
  [3:17] +0x41d60  [0x7ff1f0ec6d60]
Charm++ fatal error:
unexpected call to exit by user program. Must use CkExit, not exit!
[3] Stack Traceback:
  [3:0]   [0x6e79a7]
  [3:1] CmiAbort+0xbb  [0x6e6bc8]
  [3:2]   [0x6e69cf]
  [3:3] +0x36d82  [0x7ff1f0ebbd82]
  [3:4] +0x36dd5  [0x7ff1f0ebbdd5]
  [3:5] +0x1c58c  [0x7ff1f1de758c]
  [3:6] _gfortran_generate_error+0x178  [0x7ff1f1de7d48]
  [3:7] +0xd0224  [0x7ff1f1e9b224]
  [3:8] +0xd3076  [0x7ff1f1e9e076]
  [3:9] dynamic_sub_+0xec  [0x54e0cc]
  [3:10] feminp2_+0x795  [0x54ecd5]
  [3:11] driver_+0x1af  [0x54509f]
  [3:12] _Z13AMPI_Main_cppiPPc+0x14a  [0x540902]
  [3:13] AMPI_Fallback_Main+0x20  [0x5ebfac]
  [3:14] _ZN17MPI_threadstart_t5startEv+0x5a  [0x610274]
  [3:15] AMPI_threadstart+0x37  [0x5ec496]
  [3:16]   [0x5e2aee]
  [3:17] CthStartThread+0x59  [0x61d62a]
  [3:18] +0x41d60  [0x7ff1f0ec6d60]

The line 582 of feminp2.f90 is
  IF(KEY.EQ.1)THEN
->     READ(io_input,*) delta,m%TotalTime,steps
     RETURN
  ENDIF

I can send you the contents of my fractography3d.inp if it would help.

Best regards,

Laércio LIMA PILLA

PhD Student at Federal University of Rio Grande do Sul (UFRGS)
Email: laercio.pilla AT inf.ufrgs.br or laercio.lima.pilla AT gmail.com 
Tel: +55 54 9973 6313
Website: www.inf.ufrgs.br/~llpilla


2011/11/30 Orion Lawlor <lawlor AT alaska.edu>
Laércio, this error is given while starting to read the fractography3d.inp file.  Does this file exist in your run directory?  Does it have the correct contents?

Does the program work when run with fewer physical or virtual processors?  If the same problem does not appear with +p1 +vp1, this may be an issue related to gfortran's I/O functions not being thread safe.

On Wed, Nov 30, 2011 at 2:30 PM, Laércio Lima Pilla <llpilla AT inf.ufrgs.br> wrote:
Hi,

When trying to run fractography3d, I end up having the following error:

./fractography3d +p32 +vp256 -write +tcharm_stacksize 500000
Charm++: standalone mode (not using charmrun)
Converse/Charm++ Commit ID: v6.3.0-823-ge7a0e3c
TCharm> stack size is set to 500000.
Charm++> Running on 1 unique compute nodes (32-way SMP).
Charm++> cpu topology info is gathered in 0.032 seconds.
  *END parameter not found - STOPPING
------------- Processor 0 Exiting: Called CmiAbort ------------
Reason: unexpected call to exit by user program. Must use CkExit, not exit!
[0] Stack Traceback:
  [0:0] CmiAbort+0x7a  [0x6e6b87]
  [0:1]   [0x6e69cf]
  [0:2] +0x36d82  [0x7f380403dd82]
  [0:3] +0x36dd5  [0x7f380403ddd5]
  [0:4] +0x1c58c  [0x7f3804f6958c]
  [0:5] +0x1d2a3  [0x7f3804f6a2a3]
  [0:6] feminp_+0x2b0  [0x54c830]
  [0:7] init_+0x27  [0x5440a7]
  [0:8] _Z13AMPI_Main_cppiPPc+0xbc  [0x540874]
  [0:9] AMPI_Fallback_Main+0x20  [0x5ebfac]
  [0:10] _ZN17MPI_threadstart_t5startEv+0x5a  [0x610274]
  [0:11] AMPI_threadstart+0x37  [0x5ec496]
  [0:12]   [0x5e2aee]
  [0:13] CthStartThread+0x59  [0x61d62a]
  [0:14] +0x41d60  [0x7f3804048d60]
Charm++ fatal error:
unexpected call to exit by user program. Must use CkExit, not exit!
[0] Stack Traceback:
  [0:0]   [0x6e79a7]
  [0:1] CmiAbort+0xbb  [0x6e6bc8]
  [0:2]   [0x6e69cf]
  [0:3] +0x36d82  [0x7f380403dd82]
  [0:4] +0x36dd5  [0x7f380403ddd5]
  [0:5] +0x1c58c  [0x7f3804f6958c]
  [0:6] +0x1d2a3  [0x7f3804f6a2a3]
  [0:7] feminp_+0x2b0  [0x54c830]
  [0:8] init_+0x27  [0x5440a7]
  [0:9] _Z13AMPI_Main_cppiPPc+0xbc  [0x540874]
  [0:10] AMPI_Fallback_Main+0x20  [0x5ebfac]
  [0:11] _ZN17MPI_threadstart_t5startEv+0x5a  [0x610274]
  [0:12] AMPI_threadstart+0x37  [0x5ec496]
  [0:13]   [0x5e2aee]
  [0:14] CthStartThread+0x59  [0x61d62a]
  [0:15] +0x41d60  [0x7f3804048d60]
Aborted

My build for Charm++/AMPI is multicore-linux64 gfortran.
I have tracked it down to the file feminp.f90 (or feminp2.f90), where it says
1 READ(io_input,'(A)',IOSTAT=ios) keywd
  IF(ios.LT.0) THEN ! Negative ios means end-of-file
     PRINT*,' *END parameter not found - STOPPING'
     STOP
  ENDIF

Any ideas of what I am doing wrong?

Best regards,

Laércio LIMA PILLA

PhD Student at Federal University of Rio Grande do Sul (UFRGS)
Email: laercio.pilla AT inf.ufrgs.br or laercio.lima.pilla AT gmail.com 
Tel: +55 54 9973 6313
Website: www.inf.ufrgs.br/~llpilla

_______________________________________________
charm mailing list
charm AT cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/charm

_______________________________________________
ppl mailing list
ppl AT cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/ppl




--
Dr. Orion Sky Lawlor   lawlor AT alaska.edu
http://www.cs.uaf.edu/~olawlor/




Archive powered by MHonArc 2.6.16.

Top of Page