CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > Siemens

Problems with dynamic memory allocation

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 23, 2006, 13:02
Default Problems with dynamic memory allocation
  #1
Syed
Guest
 
Posts: n/a
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
  Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
FloWORKS memory allocation? Casey FloEFD, FloWorks & FloTHERM 14 October 21, 2012 14:11
Memory allocation failed ??? Rikio Fidelity CFD 3 September 2, 2008 07:03
Memory Allocation Harish Main CFD Forum 0 July 26, 2005 16:29
memory allocation strudl CFX 1 October 5, 2003 11:26
dynamic memory allocation in C++ m. malik Main CFD Forum 13 September 12, 2002 07:52


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