How to fix memSIZE limtation in ADAMS/Solver?

Hi,
In order to run ADAMS for OC3-Hywind for time duration up to 5000 second, I faced with memsize limitation error. So I modified Adams - Settings> MSCA>ASolver.Prefrences>memSIZE to Custom. Then using command window to set custom memsize i encountered with following errors:

c:\MyProject>mdadams2010 cmm

The default value for MDSIZ is 60000000
Enter a new value or to accept default: 150000000
The default value for OSSIZ is 200000
Enter a new value or to accept default: 500000
The default value for CDSIZ is 16000
Enter a new value or to accept default: 35000
The default value for LDSIZ is 50000
Enter a new value or to accept default: 120000
The default value for LCEXPR is 1000
Enter a new value or to accept default: 2500
The default value for FPSIZE is 3000
Enter a new value or to accept default: 7000
The default value for NINSIZ is 15000
Enter a new value or to accept default: 35000
The default value for MXSTAK is 300
Enter a new value or to accept default: 700

Directory of custom memory model is C:\MSC~1.SOF\MD_Adams\2010\win32\uconfg_use
r …

ifort -c /nologo /automatic /MD /Ob2 /Gm C:\MSC~1.SOF\MD_Adams\2010\win32\uconfg
_user\uconfg.f

link /dll uconfg.obj /out:C:\MSC~1.SOF\MD_Adams\2010\win32\uconfg_user\uconf
g.dll /libpath:C:\MSC~1.SOF\MD_Adams\2010\win32 msvcrt.lib /machine:x86 /expo
rt:_UCONFG@12 /export:DDATA,DATA /export:CSDATA,DATA /export:LSDATA,DATA /export
:CEXPR,DATA /export:UFUNC1,DATA /export:UFUNC2,DATA /export:STKAR1,DATA /export:
STKAR2,DATA
Microsoft (R) Incremental Linker Version 9.00.21022.08
Copyright (C) Microsoft Corporation. All rights reserved.

Creating library C:\MSC~1.SOF\MD_Adams\2010\win32\uconfg_user\uconfg.lib and
object C:\MSC~1.SOF\MD_Adams\2010\win32\uconfg_user\uconfg.exp
msvcrt.lib(crtdll.obj) : error LNK2019: unresolved external symbol __imp__Interl
ockedExchange@8 referenced in function __CRT_INIT@12
msvcrt.lib(crtdll.obj) : error LNK2019: unresolved external symbol __imp__Sleep@
4 referenced in function __CRT_INIT@12
msvcrt.lib(crtdll.obj) : error LNK2019: unresolved external symbol __imp__Interl
ockedCompareExchange@12 referenced in function __CRT_INIT@12
msvcrt.lib(dllmain.obj) : error LNK2019: unresolved external symbol __imp__Disab
leThreadLibraryCalls@4 referenced in function _DllMain@12
msvcrt.lib(gs_support.obj) : error LNK2019: unresolved external symbol __imp__Qu
eryPerformanceCounter@4 referenced in function ___security_init_cookie
msvcrt.lib(gs_support.obj) : error LNK2019: unresolved external symbol __imp__Ge
tTickCount@0 referenced in function ___security_init_cookie
msvcrt.lib(gs_support.obj) : error LNK2019: unresolved external symbol __imp__Ge
tCurrentThreadId@0 referenced in function ___security_init_cookie
msvcrt.lib(gs_support.obj) : error LNK2019: unresolved external symbol __imp__Ge
tCurrentProcessId@0 referenced in function ___security_init_cookie
msvcrt.lib(gs_support.obj) : error LNK2019: unresolved external symbol __imp__Ge
tSystemTimeAsFileTime@4 referenced in function ___security_init_cookie
msvcrt.lib(gs_report.obj) : error LNK2019: unresolved external symbol __imp__Ter
minateProcess@8 referenced in function ___report_gsfailure
msvcrt.lib(gs_report.obj) : error LNK2019: unresolved external symbol __imp__Get
CurrentProcess@0 referenced in function ___report_gsfailure
msvcrt.lib(gs_report.obj) : error LNK2019: unresolved external symbol __imp__Unh
andledExceptionFilter@4 referenced in function ___report_gsfailure
msvcrt.lib(gs_report.obj) : error LNK2019: unresolved external symbol __imp__Set
UnhandledExceptionFilter@4 referenced in function ___report_gsfailure
msvcrt.lib(gs_report.obj) : error LNK2019: unresolved external symbol __imp__IsD
ebuggerPresent@0 referenced in function ___report_gsfailure
C:\MSC~1.SOF\MD_Adams\2010\win32\uconfg_user\uconfg.dll : fatal error LNK1120: 1
4 unresolved externals
*** Error *** Adams link step failed.
************* Deleted new library file.

if exist C:\MSC~1.SOF\MD_Adams\2010\win32\uconfg_user\uconfg.dll.manifest mt.exe
-outputresource:C:\MSC~1.SOF\MD_Adams\2010\win32\uconfg_user\uconfg.dll;#2 -man
ifest C:\MSC~1.SOF\MD_Adams\2010\win32\uconfg_user\uconfg.dll.manifest
‘mt.exe’ is not recognized as an internal or external command,
operable program or batch file.
*** Error *** Adams manifest step failed.
************* Deleted new library file.

Note i am using IVF 11.00.066 32bit with VS2008.
Is there anyone to have experience in this case or know how to fix this problem.
Any comment will be appreciable.

Regards,
Mehdi,

Medhi,

We typically set Adams memSize to “huge” to run our simulations. I have not, however, run a 5000-second simulation with Adams, so I cannot say if that is large enough.

I haven’t used the “custom” setting, but my version says “If you select (Custom) you must have already created a special user version as described in Running Adams on Windows.” Did you follow those instructions?

Bonnie

Dear Bonnie,

Yes, I followed that instructions. According to ADAMS help, in order to run simulation with custom memSize we must first build a uconfg_user.dll file using Fortran compiler then by setting memSIZE to Custom you will able to run your simulation. The problem that i faced is in compiling and making uconfg_user.dll file.

Any help to solve the problem and make uconfg_user.dll file is appreciable.

Regards,
Mehdi,

Dear Medhi,

Have you contacted MSC.Software about your problem? It seems to be more of an ADAMS issue than one related to using our software.

Marshall

thanks Marshall,

I contacted them as well, but no comment to fix the problem(until now).

It will be more appreciable if there is anyone to have experience in this case to share.

Regards,

I’m sorry, but I have not used ADAMS in many years. It’s probably been a decade since I’ve tried to build an ADAMS DLL.

Marshall