CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Siemens (https://www.cfd-online.com/Forums/siemens/)
-   -   Problems with dynamic memory allocation (https://www.cfd-online.com/Forums/siemens/55515-problems-dynamic-memory-allocation.html)

Syed July 23, 2006 12:02

Problems with dynamic memory allocation
 
I am using the CDMALLOC in my user subroutines in poros1.f and postdat.f The star solver is returning an error saying memory allocation failed. I am using the following command

DIMENSION USE(80)

POINTER(P_USE,USE)

COMMON/UCOMM1/P_USE and then IF(INTFLG(70).EQ.0)THEN

CALL CDMALLOC(P_USE,INTSIZ*80)

INTFLG(32)=1

END IF

Can anyone please help me with this. Is the format correct? Many Thanks

Syed


All times are GMT -4. The time now is 00:28.