Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
After install ADMB-ide-440-2, 'admb' is not recognized ....
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Saang-Yoon  
View profile  
 More options Nov 29 2010, 1:27 pm
From: Saang-Yoon <shyu...@gmail.com>
Date: Mon, 29 Nov 2010 10:27:40 -0800 (PST)
Local: Mon, Nov 29 2010 1:27 pm
Subject: [ADMB Users] After install ADMB-ide-440-2, 'admb' is not recognized ....
Hi.

I installed ADMB-ide-440-2.  But when I type
    admb xxx.tpl

it does not compile and link.   The automatic message says that 'admb'
is not recognized as an internal or external command, ....

Any idea?

Thank you,

Saang-Yoon
_______________________________________________
Users mailing list
Us...@admb-project.org
http://lists.admb-project.org/mailman/listinfo/users


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Arni Magnusson  
View profile  
 More options Nov 29 2010, 1:59 pm
From: Arni Magnusson <arn...@hafro.is>
Date: Mon, 29 Nov 2010 18:59:41 +0000 (UTC)
Local: Mon, Nov 29 2010 1:59 pm
Subject: Re: [ADMB Users] After install ADMB-ide-440-2, 'admb' is not recognized ....
Hi Saang-Yoon,

This problem is briefly explained on page 18 of the user manual
(http://admb-project.org/community/editing-tools/admb-ide/manual/at_do...).

First, locate the directory containing admb.bat. On my computer it's
c:/admb/gcc440/bin.

Now open a Dos shell and type:

   echo %PATH%

This lists the directories where Windows looks for commands that you type
in the Dos shell. When I work with ADMB in the Dos shell, I type something
equivalent to

   set ADMB_HOME=c:/admb/gcc440
   set PATH=c:/gnu/gcc440/bin;c:/admb/gcc440/bin

which defines a minimal PATH to make the shell recognize the ADMB
compilation commands. A longer PATH can be problematic when compiling ADMB
models.

The most likely problem is that your PATH variable either doesn't contain
the c:/admb/gcc440/bin directory at all, or it contains extra spaces or
other garbage that confuses Windows. The 'set' command above changes the
PATH temporarily, only for that shell session. There are many ways to
modify the PATH permanently in Windows, none of them very graceful. One
way is described on page 18 in the ADMB-IDE user manual.

Arni

On Mon, 29 Nov 2010, Saang-Yoon wrote:
> Hi.

> I installed ADMB-ide-440-2.  But when I type
>    admb xxx.tpl

> it does not compile and link.  The automatic message says that 'admb' is
> not recognized as an internal or external command, ....

> Any idea?

> Thank you,

> Saang-Yoon

_______________________________________________
Users mailing list
Us...@admb-project.org
http://lists.admb-project.org/mailman/listinfo/users

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ian Taylor  
View profile  
 More options Nov 29 2010, 1:35 pm
From: Ian Taylor <Ian.Tay...@noaa.gov>
Date: Mon, 29 Nov 2010 10:35:55 -0800
Local: Mon, Nov 29 2010 1:35 pm
Subject: Re: [ADMB Users] After install ADMB-ide-440-2, 'admb' is not recognized ....

Hi Saang-Yoon,
Arni seems to not have been able to get the IDE to get everything right on every computer, but he cleverly included a troubleshooting section of the manual. This is from page 18 of the ADMB-IDE manual:

Compilation commands are not recognized
The PATH environment variable needs to point to the directories containing the compilation
programs (tpl2cpp.exe, tpl2rem.exe), scripts (admb.bat, adcomp.bat, adlink.bat), and
the g++.exe program. Likewise, the ADMB_HOME environment variable needs to point to the
main ADMB directory. Windows environment variables can be set using Dos scripts like
c:/autoexec.bat and c:/~/bat/gcc440.bat, or by right-clicking the My Computer icon, then
Properties ! Advanced ! Environment Variables ! User variables ! New. Many
Linux distributions include only the C component of GCC, so users need to install the optional
C++ component before using ADMB.
In Windows you can check ADMB_HOME with a command like echo %ADMB_HOME%, which on my computer produces the following:
c:\>echo %ADMB_HOME%
c:\ADMB\gcc440
-Ian

On 11/29/2010 10:27 AM, Saang-Yoon wrote:
Hi.

I installed ADMB-ide-440-2.  But when I type
    admb xxx.tpl

it does not compile and link.   The automatic message says that 'admb'
is not recognized as an internal or external command, ....

Any idea?

Thank you,

Saang-Yoon
_______________________________________________
Users mailing list
Users@admb-project.org
http://lists.admb-project.org/mailman/listinfo/users

_______________________________________________
Users mailing list
Us...@admb-project.org
http://lists.admb-project.org/mailman/listinfo/users


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ben Bolker  
View profile  
 More options Nov 29 2010, 1:34 pm
From: Ben Bolker <bbol...@gmail.com>
Date: Mon, 29 Nov 2010 13:34:58 -0500
Local: Mon, Nov 29 2010 1:34 pm
Subject: Re: [ADMB Users] After install ADMB-ide-440-2, 'admb' is not recognized ....
On 11/29/2010 01:27 PM, Saang-Yoon wrote:

> Hi.

> I installed ADMB-ide-440-2.  But when I type
>     admb xxx.tpl

> it does not compile and link.   The automatic message says that 'admb'
> is not recognized as an internal or external command, ....

> Any idea?

> Thank you,

> Saang-Yoon

  We probably need more information (operating system), but have you tried

./admb xxx.tpl

?
_______________________________________________
Users mailing list
Us...@admb-project.org
http://lists.admb-project.org/mailman/listinfo/users


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Arni Magnusson  
View profile  
 More options Nov 29 2010, 6:25 pm
From: Arni Magnusson <arn...@hafro.is>
Date: Mon, 29 Nov 2010 23:25:47 +0000 (GMT)
Local: Mon, Nov 29 2010 6:25 pm
Subject: Re: [ADMB Users] After install ADMB-ide-440-2, 'admb' is not recognized ....
It turns out that the limited-user-account problem had already been
diagnosed (problem setting env vars) and solved (set env vars after
installation) in a previous discussion on the User List:

http://groups.google.com/group/admb-users/browse_thread/thread/5901c5...

I have added a couple of sentences to the ADMB-IDE manual about limited
user accounts (just uploaded the revised manual to
http://admb-project.org/community/editing-tools/admb-ide/manual/at_do...)
and Ian Taylor is also reorganizing the FAQ entries to make the current
and previous discussions easy to find.

Arni

_______________________________________________
Users mailing list
Us...@admb-project.org
http://lists.admb-project.org/mailman/listinfo/users

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »