[ADMB Users] ADMB in a Linux machine

Arni Magnusson arnima at hafro.is
Thu May 20 12:57:34 PDT 2010

Hi Saang-Yoon,

The problem you're running into is that ADMB in Linux doesn't like Windows 
line endings (see http://en.wikipedia.org/wiki/Newline#Common_problems).

You can convert between Linux and Windows line endings using a text 
editor, or command line tools like 'dos2unix' and 'unix2dos':

$ dos2unix mark_recap13.tpl
$ admb mark_recap13.tpl
$ mark_recap13 -ind mr_v13.dat


On Thu, 13 May 2010, Saang-Yoon Hyun wrote:

> A programmer at my agency and I run into a few errors in compling a TPL 
> file in a Linux machine.  We believe this problem is about a mis-match 
> between a complier and the TPL codes, because the TPL file was perfectly 
> run in a MS Window machine.  I wonder about whether you had some 
> experience in compling and linking a TPL file in a Linux machine.  If 
> not, would you introduce someone else we can inquire? For information, I 
> attach TPL and DAT files to this email.
> Thank you very much,
> Saang-Yoon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mark_recap13.tpl
Type: application/vnd.groove-tool-template
Size: 3778 bytes
URL: <http://lists.admb-project.org/pipermail/users/attachments/20100520/fba23168/attachment.bin>
-------------- next part --------------
#Two parts of data


#=========== Does your double-tagging study use identical tags?

#=========== If yes, write 1.  Otherwise, write 0.  (Y or N)



#================1: Double tagging for estimating tag loss rate 

#Out of the number of fish recaptured (= D1 + D2)

#D.R1: number of fish retaining one tag (or only permanent mark)



#D.R2: number of fish retaining both tags (or tag and permanent marks)



#================2: For estimating abundance 

#Number of fish initially marked and released, which is composed of 

#single-tagged and double-tagged fish

#M.S: number of fish initially single-tagged and released


#M.D: number of fish initially double-tagged and released



#C: number of fish sampled later (they include marked and unmarked fish)



#R: number of marked fish recaptured/resighted.

#Recaptured/Resighted fish are from either single-tagged fish or 

#double-tagged fish (i.e., R=R.S+R.D).


More information about the Users mailing list