Page 1 of 1

installation on SGI cluster with 1.3.3

Posted: Tue Nov 03, 2009 3:30 pm
by Laurent Chemartin
Hi,
We have just installed Code_Saturne 1.3.3 on our SGI cluster. The compilation is ok, but the computation crashes at the first time step. It seems that the call of a parallel function in C causes the crash. Note that the -nofor_main is setted in the mk file. You will find enclosed the listing and the compil.log files.
 
Do you have an idea of the origin of this problem ? Thanks !

Re: installation on SGI cluster with 1.3.3

Posted: Tue Nov 03, 2009 3:30 pm
by Laurent Chemartin
The compil.log file...

Re: installation on SGI cluster with 1.3.3

Posted: Wed Nov 04, 2009 1:41 am
by David Monfort
Hi Laurent,
It seems you have a "coding" problem in uselph.F. If you look at the end of the listing file you'll see that Code_Saturne intercepted a SIGSEGV exception (i.e. a memory violation) in uselph subroutine (perhaps due to a ISCA vs ISCAPP mismatch...).
Post uselph.F file if you cannot guess where the error is; I'll try to have a look at it.
Cheers,
David

Re: installation on SGI cluster with 1.3.3

Posted: Wed Nov 04, 2009 1:52 pm
by Laurent Chemartin
Thank you David, you were right. In uselph.F, I wrote:
         IPCDIF  = IPPROC(IVISLS(IYCOEL(1)))          PROPCE(IEL,IPCDIF) = PROPCE(IEL,IPCVIS)/PROPCE(IEL,IPCROM)
IYCOEL(1) exists only if massic fraction is taken into account in electric arc mode. I use now:
 
        IF ( NGAZG .GT. 1 ) THEN
           DO IESP = 1, NGAZG-1
             IPCDIF  = IPPROC(IVISLS(IYCOEL(IESP)))


             PROPCE(IEL,IPCDIF) = PROPCE(IEL,IPCVIS)/PROPCE(IEL,IPCROM)
           ENDDO
        ENDIF
 
 
Many thanks,
 
Laurent

Re: installation on SGI cluster with 1.3.3

Posted: Wed Nov 04, 2009 5:04 pm
by David Monfort
You're welcome ;-)
I'll try to move your post out of the "installation" section as it isn't really an installation issue.