[ADMB Users] compile-link process is inconsistent (sucessful and failed)
Saang-Yoon
shyunuw at gmail.com
Fri Jun 15 10:11:58 PDT 2012
Hi.
This inquiry is not about ADMB codes but about the compile-link process.
I use ADMB-IDE and Crimson editor for ADMB coding. In a compile-link
process, often (esp. when I expedite the process) I failed although there
is no error in ADMB codes. Interestingly when I slowed down (I do
so after a few moments say 30 seconds), I got successful, producing its
executable file. For illustration purpose, I copy and paste the following
output (see it below) from the *failure* example. If you had the
similar experience, how did you get over this kind of glitch? Thank you,
Saang-Yoon
C:\Hyun\ProjI\SurplusProd\prod_am3\admb8Sone2009>admb I1PT52yr2009.tpl
C:\Hyun\ProjI\SurplusProd\prod_am3\admb8Sone2009\I1PT52yr2009.exe
*** tpl2cpp I1PT52yr2009
xxglobal.tmp
xxhtop.tmp
header.tmp
xxalloc.tmp
xxtopm.tmp
1 file(s) copied.
*** adcomp I1PT52yr2009
g++ -c -O3 -Wno-deprecated -D__GNUDOS__ -Dlinux -DOPT_LIB -DUSE_LAPLACE
-fpermis
sive -I. -I"c:/ADMB/gcc452\include" -o I1PT52yr2009.obj I1PT52yr2009.cpp
*** adlink I1PT52yr2009
g++ -s -static -L"c:/ADMB/gcc452\lib" I1PT52yr2009.obj -ldf1b2o -ladmod
-ladt -l
ado -ldf1b2o -ladmod -ladt -lado -o I1PT52yr2009
c:/gnu/gcc452/bin/../lib/gcc/x86_64-w64-mingw32/4.5.2/../../../../x86_64-w64-min
gw32/bin/ld.exe: cannot open output file I1PT52yr2009.exe: Permission denied
collect2: ld returned 1 exit status
Done
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.admb-project.org/pipermail/users/attachments/20120615/9c41191b/attachment.html>
More information about the Users
mailing list