We did the modifications as you suggested and it worked. The modified sunroutine of noerode.f is attached However, now we have installed version 7 of telemac, and we get a segmentation error
We have traced the error to the subroutine FIND_INS_ELAFIN and found that the error happens in line 128 of the subroutine
119 IF(IB(10).EQ.1) CALL LIT(XB,RB,IB,CB,6,'I ',NFIC,'STD',ISTAT)
120 !
121 ! 5: 4 INTEGERS
122 CALL LIT(XB,RB,IB,CB,4,'I ',NFIC,'STD',ISTAT)
123 NPOIN = IB(2)
124 !
125 IF(PRESENT(NP)) NP = NPOIN
126 !
127 ! 6: IKLES (LIKE IKLE BUT INDICES EXCHANGED)
128 CALL LIT(XB,RB,IB,CB,1,'I ',NFIC,'STD',ISTAT)
<<<<< seems error is produced here
129 !
130 ! 7: IPOBO OR KNOLG
131 CALL LIT(XB,RB,IB,CB,1,'I ',NFIC,'STD',ISTAT)
132 !
133 ! 8 AND 9: X AND Y
134 CALL LIT(XB,W,IB,CB,1,RF,NFIC,'STD',ISTAT)
135 CALL LIT(XB,W,IB,CB,1,RF,NFIC,'STD',ISTAT)
!!!!!!!!!!!
what telemac prints is the following before it crashes:
|runCode: Fail to run
|/opt/sam/rhel6/openmpi/1.6.5/gcc/4.8.2/bin/mpiexec -wdir /home/jabad/alm250/TELEMACRUNS/IniBedform/Cutoff.cas_2015-05-01-17h20min36s -n 4 /home/jabad/alm250/TELEMACRUNS/IniBedform/Cutoff.cas_2015-05-01-17h20min36s/out_telemac2d
|~~~~~~~~~~~~~~~~~~
|Program received signal SIGSEGV: Segmentation fault - invalid memory reference.
|
|Backtrace for this error:
|
|Program received signal SIGSEGV: Segmentation fault - invalid memory reference.
|
|Backtrace for this error:
|
|Program received signal SIGSEGV: Segmentation fault - invalid memory reference.
|
|Program received signal SIGSEGV: Segmentation fault - invalid memory reference.
|
|Backtrace for this error:
|
|Backtrace for this error:
|
|An MPI process has executed an operation involving a call to the
|"fork()" system call to create a child process. Open MPI is currently
|operating in a condition that could result in memory corruption or
|other system errors; your MPI job may hang, crash, or produce silent
|data corruption. The use of fork() (or system() or other calls that
|create child processes) is strongly discouraged.
|
|The process that invoked fork was:
|
| Local host: n155 (PID 67867)
| MPI_COMM_WORLD rank: 0
I'd appreciate if you could provide any feedback that help us to solve the issue.
Regards,
Alejandro