[ADMB Users] ADMB Installation Windows GCC
Gabor Grothendieck
ggrothendieck at gmail.com
Wed Apr 4 06:55:45 PDT 2012
Seems the email wrapped one line but the ADMB_HOME=C:\Program
Files\ADMB" line should be at the end of the prior line right after
set.
On Wed, Apr 4, 2012 at 9:54 AM, Gabor Grothendieck
<ggrothendieck at gmail.com> wrote:
> If the bat files are being revised I suggest that this code be placed
> at the top of each one in which case most people won't need to set
> ADMB_HOME:
>
> @echo off
> setlocal
> if not defined ADMB_HOME if exist C:\ADMB set ADMB_HOME=C:\ADMB
> if not defined ADMB_HOME if exist "C:\Program Files\ADMB" set
> ADMB_HOME=C:\Program Files\ADMB"
> if not defined ADMB_HOME echo "Error: ADMB_HOME variable not found" & exit /b 1
>
>
> On Tue, Apr 3, 2012 at 7:36 PM, Ian Taylor <ian.taylor at noaa.gov> wrote:
>> Roy is right. The adcomp.bat and adlink.bat seem to be missing from the ADMB
>> 10.1 installation for Windows with GCC. My belief in recreating the error
>> seemed to come from conflicts with other admb installations.
>>
>> This seems to have been fixed sometime since the release of 10.1, so for the
>> moment the best two options for getting ADMB for Windows with the GCC
>> compiler are to either use the ADMB-IDE installer or wait for the release of
>> ADMB 10.2.
>> -Ian
>>
>>
>> On Tue, Apr 3, 2012 at 3:26 PM, Arni Magnusson <arnima at hafro.is> wrote:
>>>
>>> Another way to get the GCC compiler for Windows is to pick one from
>>>
>>> http://admb-project.org/community/related-software/gcc
>>>
>>> ---
>>>
>>> But surely the error message ('adcomp' is not recognized as an internal or
>>> external command, operable program or batch file") means that adcomp.bat is
>>> not in the PATH, right?
>>>
>>> In other words, that the adcomp.bat script is missing from the ADMB 'bin'
>>> directory and/or the PATH does not point to the ADMB 'bin' directory.
>>>
>>> ---
>>>
>>> You may find it easiest to install ADMB and GCC together using the
>>> ADMB-IDE installer:
>>>
>>> http://code.google.com/p/admb-project/downloads/list?q=admb+ide+101+exe
>>>
>>> That should be plug-and-play, if you have administrator rights.
>>>
>>> Arni
>>>
>>>
>>>
>>>
>>> On Tue, 3 Apr 2012, Ian Taylor wrote:
>>>
>>>> Hi Roy,
>>>>
>>>> I gave you bad advice earlier. I just recreated your error while testing
>>>> the installation instructions.
>>>>
>>>> I had contributed incorrect information in the install instructions by
>>>> saying that the GCC compiler was included with the ADMB installer. GCC is
>>>> only included with the ADMB-IDE installer (which is quite convenient).
>>>> Running ADMB in the absence of GCC causes the error you saw. I've added a
>>>> step and link to MinGW installer download to the instructions at
>>>> http://admb-project.org/documentation/installation/admb-installation-mingw
>>>>
>>>> Thanks Chris for helping me find the error of my ways.
>>>>
>>>> -Ian
>>>>
>>>>
>>>>
>>>> On Tue, Apr 3, 2012 at 8:29 AM, Ian Taylor <ian.taylor at noaa.gov> wrote:
>>>>
>>>>> Hi Roy,
>>>>>
>>>>> While the instructions are back online, they are also a work in progress
>>>>> (as is the installer itself). I think this is a problem of the path not
>>>>> getting set correctly. Although I'm not sure why it got past the tpl2cpp
>>>>> stage.
>>>>>
>>>>> Could you confirm that you are opening the ADMB command window via
>>>>> Start->All Programs->ADMB (MinGW GCC-4.5.2)->ADMB Command Prompt (MinGW
>>>>> GCC-4.5.2) rather than just any old DOS prompt?
>>>>>
>>>>> -Ian
>>>>>
>>>>>
>>>>>
>>>>> On Mon, Apr 2, 2012 at 9:54 PM, <Roy.Deng at csiro.au> wrote:
>>>>>
>>>>>> Hi There,
>>>>>>
>>>>>> Glad to see the instructions for GCC are online, but it doesn't work
>>>>>> with my windows 7 system. Got error message: 'adcomp' is not recognized as
>>>>>> an internal or external command, operable program or batch file. Guess
>>>>>> 'adcomp' need to be re-written in dos formats?
>>>>>>
>>>>>> Appreciate if any help/advice from you.
>>>>>>
>>>>>> Thanks
>>>>>>
>>>>>> Roy Deng
>>>>>
>>>>>
>>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at admb-project.org
>>> http://lists.admb-project.org/mailman/listinfo/users
>>
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at admb-project.org
>> http://lists.admb-project.org/mailman/listinfo/users
>>
>
>
>
> --
> Statistics & Software Consulting
> GKX Group, GKX Associates Inc.
> tel: 1-877-GKX-GROUP
> email: ggrothendieck at gmail.com
--
Statistics & Software Consulting
GKX Group, GKX Associates Inc.
tel: 1-877-GKX-GROUP
email: ggrothendieck at gmail.com
More information about the Users
mailing list