Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: Error code 2 in parallel mode

Error code 2 in parallel mode 7 years 3 months ago #27541

  • lpilavoine
  • lpilavoine's Avatar
OK, so I quickly rewrote the subroutine from my version of the subroutine, and it displayed the same error.

I then tried to remove the EXTERNAL déclarations and use the INTERFACE_PARALLEL module, but I still ended up with the same error.

Now that I'm thinking about it, could it be coming from the way I set the sediment concentration on the boundaries? I check the number of the boundary point to see if it belongs to my first or my second border, but I wonder if the function BOUNDARY_COLOUR() only works in sequential, as the mesh is splitted between the process when running in parallel.
The administrator has disabled public write access.

Error code 2 in parallel mode 7 years 3 months ago #27542

  • cyamin
  • cyamin's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 997
  • Thank you received: 234
BOUNDARY_COLOUR%I() does work in parallel. Did you migrated all your subroutines to v7p2 or just CONLIT?

Also compile a debug parallel ready configuration and try to run the computation with that configuration. Also, setting DEBUGGER=1 in your cas always helps.
The administrator has disabled public write access.

Error code 2 in parallel mode 7 years 3 months ago #27574

  • lpilavoine
  • lpilavoine's Avatar
Thanks for your answers. I managed to launch it (it had actually something to do with the lengths of some lines in the fortran file, which was not a problem on my personal computer but didn't work with the one dedicated to computation), however I still run into errors.

Problem is, I don't have anything about what causes the program to stop.
Also compile a debug parallel ready configuration and try to run the computation with that configuration.

What do you mean? Compile a telemac configuration?
As for the DEBUGGER=1, I've thought about it, the problem is that it creates really large files very quickly and I'm afraid I'll quickly run out of disk space... I'll see if I can give it a try though.
The administrator has disabled public write access.

Error code 2 in parallel mode 7 years 3 months ago #27575

  • cyamin
  • cyamin's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 997
  • Thank you received: 234
A debug configuration includes some extra flags to the compiler to give more messages in case of an error. For my setup with mingw-w64 it is something like this:
[gfsdbg]
#
cmd_obj:    x86_64-w64-mingw32-gfortran -cpp -march=native -g -ggdb -fbounds-check  -Wall -c -fbacktrace -finit-real=nan <mods> <incs> <f95name>
cmd_exe:    x86_64-w64-mingw32-gfortran -static -march=native -g -ggdb -fbounds-check  -Wall -v -fbacktrace -finit-real=nan -o <exename> <objs> -Xlinker --start-group <libs> 
#--end-group
#
If disk space is a problem for you output files, then maybe there isn't enough space for the actual result files, so the computation cannot continue after some point.

Regards,
Costas
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Moderators: Pablo, pavans

The open TELEMAC-MASCARET template for Joomla!2.5, the HTML 4 version.