T O P I C R E V I E W |
cyberjuda |
Posted - 11/03/2009 : 05:13:31 AM Origin Ver. 8 and Service Release 2(Select Help-->About Origin): Operating System: Windows XP Professional SP3
Hello again,
I seem to be having a small problem. I have been previously working with a custom made fit function with origin and was working great. Then I had to reinstall windows. So I backed up my origin settings folder and copied it back again after installing everything. I tried running the exact same script again and it gives me the following compile error.
compiling... _nlfPWParameteric.fit D:\Work\Origin Files\OriginC\NLSF\_nlfNewFunction.fit(110) :Error, function or variable NAG_FREE not found D:\Work\Origin Files\OriginC\NLSF\_nlfNewFunction.fit(110) :Error, general compile error D:\Work\Origin Files\OriginC\NLSF\_nlfNewFunction.fit(108) :Error, general compile error D:\Work\Origin Files\OriginC\NLSF\_nlfNewFunction.fit(56) :Error, error(s) found in compiling function _nlsfNewFunction Compile Failed!
So I thought that maybe something was wrong with my code. I tried using the tutorial given at http://wiki.originlab.com/~originla/howto/index.php?title=Tutorial:Fitting_with_Integral_using_NAG_Library and it also gave the exact same error.
Please help and thanks in advance! |
3 L A T E S T R E P L I E S (Newest First) |
a.abc.b35 |
Posted - 11/14/2010 : 8:46:10 PM I tried using the tutorial given at http://wiki.originlab.com/~originla/howto/index.php?title=Tutorial:Fitting_with_Integral_using_NAG_Library and it gave me the following error: ................. compiling... _nlfnag_integration_fitting.fit C:\..\NLSF\_nlfnag_integration_fitting.fit(108) :Error, function or variable NAG_FREE not found C:\..\NLSF\_nlfnag_integration_fitting.fit(108) :Error, general compile error C:\..\NLSF\_nlfnag_integration_fitting.fit(106) :Error, general compile error C:\..\NLSF\_nlfnag_integration_fitting.fit(54) :Error, error(s) found in compiling function _nlsfnag_integration_fitting Compile Failed! .............. I than included the line '#define NAG_FREE(X) x04bdc((Pointer *)&(X))' below the '#include <origin.h>' and recompiled again and the problem was solved.i.e, compilation was successful. Now my question is : Given that I don't want to upgrade to the next service pack available, and if I include the above mentioned code line in all the subsequent codes,can I be assured that the memory allocation is freed before calling the integration routine again to avoid memory leakage ?
AB |
Iris_Bai |
Posted - 11/03/2009 : 10:38:53 PM Hi,
This is a bug in Origin8 SR2 and fixed now, please upgrade to SR6.
Iris |
cyberjuda |
Posted - 11/03/2009 : 1:40:35 PM The problem solved itself once I commented out few commands pertaning to NAG_FREE at the end of the script. I have no idea though if they are important or not.
quote: Originally posted by cyberjuda
Origin Ver. 8 and Service Release 2(Select Help-->About Origin): Operating System: Windows XP Professional SP3
Hello again,
I seem to be having a small problem. I have been previously working with a custom made fit function with origin and was working great. Then I had to reinstall windows. So I backed up my origin settings folder and copied it back again after installing everything. I tried running the exact same script again and it gives me the following compile error.
compiling... _nlfPWParameteric.fit D:\Work\Origin Files\OriginC\NLSF\_nlfNewFunction.fit(110) :Error, function or variable NAG_FREE not found D:\Work\Origin Files\OriginC\NLSF\_nlfNewFunction.fit(110) :Error, general compile error D:\Work\Origin Files\OriginC\NLSF\_nlfNewFunction.fit(108) :Error, general compile error D:\Work\Origin Files\OriginC\NLSF\_nlfNewFunction.fit(56) :Error, error(s) found in compiling function _nlsfNewFunction Compile Failed!
So I thought that maybe something was wrong with my code. I tried using the tutorial given at http://wiki.originlab.com/~originla/howto/index.php?title=Tutorial:Fitting_with_Integral_using_NAG_Library and it also gave the exact same error.
Please help and thanks in advance!
|
|
|