E04WDF - UCL/ECON-CLUSTER GitHub Wiki

  • If ifail=12, you need to increase the NAG internal memory allocation.

    1. Let mem0 be the initial internal allocation.
    2. Final allocation equals mem0 times rw(501).
    3. Solution: increase rw(501) as follows:
    ifail = -1
    call E04WCF(IW,LENIW,RW,LENRW,ifail)
    rw(501) = 10.0_nag_wp
    call E04WDF(...)
    
  • That increases the allocation by a factor of 10.0

  • To check memory allocation:

    ifail = 0
    call e04wff('System information yes',iw,rw,ifail)
    

Back to NAG