Welcome, Guest
Username: Password: Remember me

TOPIC: Multiple sources error

Multiple sources error 3 years 2 weeks ago #39322

  • TomS
  • TomS's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 71
  • Thank you received: 8
Hi,

I have 84 sources of a passive scalar in my model and would like to have more but am getting the errors below. Could someone possibly advise on how to overcome this?

I have set:

MAXIMUM NUMBER OF SOURCES = 6000

but this doesn't help.

Thanks,

Tom

********************************************
* LECDON: *
* BEFORE CALLING DAMOCLES *
********************************************

*********************************************
ADRESS GREATER THAN NMAX = 600
TOO MANY VALUES OF TYPE : 2 DECLARED.
STOP OF DAMOCLES AT KEY-WORD NUMBER: 84
*********************************************

PLANTE: PROGRAM STOPPED AFTER AN ERROR
RETURNING EXIT CODE: 2
MPI_ABORT was invoked on rank 0 in communicator MPI_COMM_WORLD
with errorcode 2.

NOTE: invoking MPI_ABORT causes Open MPI to kill all MPI processes.
You may or may not see output from other processes, depending on
exactly when Open MPI kills them.
The administrator has disabled public write access.

Multiple sources error 3 years 2 weeks ago #39323

  • TomS
  • TomS's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 71
  • Thank you received: 8
Apologies, this has now been resolved with a clean recompile with:

Edit the file telemac/v8p2/sources/utils/special/declarations_special.F

and change to the following (from 300):

! Max number of keywords
INTEGER, PARAMETER :: MAXKEYWORD = 6000
The administrator has disabled public write access.

Multiple sources error 2 years 8 months ago #39931

  • haozailao
  • haozailao's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 86
  • Thank you received: 1
Hello,TomS.
I met the same problem as you.I follow your step and edit the file telemac/v8p2/sources/utils/special/declarations_special.F.But the telemac seems
can't run.
In your description,you seems to have source more than 99.Do you modify the file debsce.f in
v8p2\sources\telemac2d?
Because in line 87, there is WRITE(LU,*) 'DEBSCE NOT PROGRAMMED FOR MORE THAN 99 SOURCES'
So I also edit this file? I don't know whether the problem is here.
So please tell me whether your source is more than 99 and whether you have modified the debsce.f file in v8p2\sources\telemac2d
Thanks advanced!
The administrator has disabled public write access.

Multiple sources error 2 years 8 months ago #39932

  • TomS
  • TomS's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 71
  • Thank you received: 8
Hi,

I did try modifying the debsce.f file to try and have >99 sources but this did not resolve the issue and I was stuck with 99 maximum.

Perhaps someone else could advise?

Tom
The administrator has disabled public write access.

Multiple sources error 2 years 8 months ago #39938

  • haozailao
  • haozailao's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 86
  • Thank you received: 1
Hi
So you have successfully changed the MAXKEYWORD=6000?
For me,I have tried to edit this keyword for several values, telemac get error when the MAXKEYWORD is greater than 500,I don't know where the problem is.
The administrator has disabled public write access.

Multiple sources error 2 years 8 months ago #39942

  • TomS
  • TomS's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 71
  • Thank you received: 8
Hi, yes,

Edit the file telemac/v8p2/sources/utils/special/declarations_special.F

and change to the following (from 300):

! Max number of keywords
INTEGER, PARAMETER :: MAXKEYWORD = 6000

then,

compile_telemac.py --clean

This worked for me.
The administrator has disabled public write access.

Multiple sources error 2 years 8 months ago #39952

  • pham
  • pham's Avatar
  • OFFLINE
  • Administrator
  • Posts: 1559
  • Thank you received: 602
Hello,

I have used the search engine of this forum with the keyword DEBSCE and i have found this topic:
www.opentelemac.org/index.php/kunena/16-...ore-than-100-sources

Have you both tried what is written?

Hope this helps,

Chi-Tuan
The administrator has disabled public write access.

Multiple sources error 2 years 8 months ago #39958

  • haozailao
  • haozailao's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 86
  • Thank you received: 1
YES,it work by edit the descbe file so i can manage more than 100 sources.
But I still failed change the value of MAXKEYWORD.
The administrator has disabled public write access.
Moderators: pham

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