[ADMB Users] Please test updated installation documentation - Bug still not fixed
Alex Campbell
ghostofsandy at gmail.com
Wed Nov 20 18:47:19 PST 2013
My experience of the mingw compiler is that with it ADMB fails to diagnose singular or near singular hessians. This is a minefield for inexperienced users and in my opinion it should not be supported. Has no one else seen this issue?
Alex
> On 21 Nov 2013, at 10:36 am, Ian Taylor - NOAA Federal <ian.taylor at noaa.gov> wrote:
>
> Hi Johnoel and Jon,
> Everything worked fine building with the r1353 files using both an existing MinGW and also downloaded using get-mingw.bat (which takes a while, but worked fine).
>
> I like the "quick start" instructions better than the plain text file and it seems easier to maintain than the instructions on Plone (which should presumably be removed soon).
>
> I did note that the link at the top of the MinGW to the Visual C++ instructions (which I didn't try) fails due to case sensitivity. The first fails and the second works:
> http://www.admb-project.org/buildbot/documentation/QuickStartVisualC++.html
> http://www.admb-project.org/buildbot/documentation/quickstartvisualc++.html
>
> -Ian
>
>
>
>> On Wed, Nov 20, 2013 at 10:43 AM, Johnoel Ancheta <johnoel at hawaii.edu> wrote:
>> That was fixed use
>>
>> admb-r1353-src.zip
>>
>> http://www.admb-project.org/buildbot/snapshots/admb-r1353-src.zip
>>
>> Or
>>
>> svn update
>>
>> Please provide feedback.
>>
>>
>>
>>> On Wed, Nov 20, 2013 at 8:40 AM, Ian Taylor - NOAA Federal <ian.taylor at noaa.gov> wrote:
>>> Hi Jon,
>>> I got the identical error running using the same files but with my existing MinGW installation in place.
>>> -Ian
>>>
>>>
>>>> On Tue, Nov 19, 2013 at 2:59 PM, Jon Schnute <schnutej-dfo at shaw.ca> wrote:
>>>> Thanks, Johnoel (and also Ian). I got the latest version of ADMB from your link at
>>>>
>>>>
>>>>
>>>> http://www.admb-project.org/buildbot/snapshots/admb-latest.zip.
>>>>
>>>>
>>>>
>>>> Then I carefully followed your latest instructions at
>>>>
>>>>
>>>>
>>>> http://www.admb-project.org/buildbot/documentation/quickstartwindows.html,
>>>>
>>>>
>>>>
>>>> where I even used your specified path C:\admb. Unfortunately, “make” stills fails with the final commands shown below:
>>>>
>>>>
>>>>
>>>> ******* Final commands
>>>>
>>>> g++ -c -O3 -Wall -DSAFE_ALL -D__GNUDOS__ -Dlinux -D__SPDLL__ -DUSE_LAPLACE -I..\
>>>>
>>>> build\dist\include -o..\build\objects\dist\saflp-linad99-xgradclc.obj linad99\xg
>>>>
>>>> radclc.cpp
>>>>
>>>> g++ -c -O3 -Wall -DOPT_LIB -D__GNUDOS__ -Dlinux -D__SPDLL__ -DUSE_LAPLACE -I..\b
>>>>
>>>> uild\dist\include -o..\build\objects\dist\optlp-nh99-adsleep.obj nh99\adsleep.cp
>>>>
>>>> p
>>>>
>>>> g++ -c -O3 -Wall -DOPT_LIB -D__GNUDOS__ -Dlinux -D__SPDLL__ -DUSE_LAPLACE -I..\b
>>>>
>>>> uild\dist\include -o..\build\objects\dist\optlp-nh99-amoeba.obj nh99\amoeba.cpp
>>>>
>>>> g++ -c -O3 -Wall -DOPT_LIB -D__GNUDOS__ -Dlinux -D__SPDLL__ -DUSE_LAPLACE -I..\b
>>>>
>>>> uild\dist\include -DADMB_VERSION=11.1 -DADMB_REVISION=Unversioned directory -o..
>>>>
>>>> \build\objects\dist\optlp-nh99-banner.obj nh99\banner.cpp
>>>>
>>>> g++: error: directory: No such file or directory
>>>>
>>>> make[1]: *** [..\build\objects\dist\optlp-nh99-banner.obj] Error 1
>>>>
>>>> make[1]: Leaving directory `C:/admb/src'
>>>>
>>>> make: *** [g++-all] Error 2
>>>>
>>>> ******* End final commands
>>>>
>>>>
>>>>
>>>> This time the procedure got one step beyond amoeba.cpp, but failed at banner.cpp. I checked to verify that “banner.cpp” actually exists in the directory C:\admb\src\nh99; it does. I can’t understand how dozens (or hundreds?) of commands can work fine, but then fail at this particular step.
>>>>
>>>>
>>>>
>>>> Ian, thanks for your offer to run tests. If you have a chance, I’d very much like to know if you get this same error when you follow the same steps that I did.
>>>>
>>>>
>>>>
>>>> Best wishes,
>>>>
>>>> Jon
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> From: users-bounces at admb-project.org [mailto:users-bounces at admb-project.org] On Behalf Of Johnoel Ancheta
>>>> Sent: November-18-13 5:13 PM
>>>> To: ADMB Users
>>>> Subject: Re: [ADMB Users] Please test updated installation documentation.
>>>>
>>>>
>>>>
>>>> Thank you all for testing and providing feedback. I was able to duplicate and resolve the issue.
>>>>
>>>> The problem was user system PATH having sh.exe or bash.exe in it. This caused the build files
>>>>
>>>> to use Unix commands like cp or rm instead of copy or del for Windows. The fixes have been
>>>>
>>>> committed to version control. Please update your copy and test the procedures in
>>>>
>>>>
>>>>
>>>> http://www.admb-project.org/buildbot/documentation/
>>>>
>>>>
>>>>
>>>> As always, thank you for providing feedback.
>>>>
>>>>
>>>>
>>>> Cheers,
>>>>
>>>> Johnoel
>>>>
>>>>
>>>>
>>>> On Sat, Nov 16, 2013 at 1:15 AM, Johnoel Ancheta <johnoel at hawaii.edu> wrote:
>>>>
>>>> Hi all,
>>>>
>>>>
>>>>
>>>> I've updated the ADMB build and installation documentation. Please
>>>>
>>>> try them out and provide feedback.
>>>>
>>>>
>>>>
>>>> http://www.admb-project.org/buildbot/documentation/
>>>>
>>>>
>>>>
>>>> Thanks,
>>>>
>>>> Johnoel
>>>>
>
> _______________________________________________
> Users mailing list
> Users at admb-project.org
> http://lists.admb-project.org/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.admb-project.org/pipermail/users/attachments/20131121/f0c18686/attachment.html>
More information about the Users
mailing list