[ee122] ./MNLDaemon: Invalid argument.

Simon Tan simtan at berkeley.edu
Tue Dec 11 15:19:36 PST 2007


If the machine says "Invalid argument", it typically means you need to  
recompile. MNL has its own 'usage' statement if you get its arguments  
wrong.

Compile using gmake.

On Tue, 11 Dec 2007 14:42:31 -0800, Jonathan D. Ellithorpe  
<jde at berkeley.edu> wrote:

> Hmm... my executable in in the parent folder of the src (i.e. MNLSphere)
> because I compiled from the MNLSphere directory
>
> make -f Makefile.MNL
>
> so then my executable is in the same directory as the samplecfg  
> directory.
>
> For the sake of being as clear as possible, here were my steps:
>
> mkdir MNLSphere
> mv MNL_0_1a.tar MNLSphere
> cd MNLSphere
> tar -xvf MNL_0_1a.tar
> make -f Makefile.MNL
> ./MNLDaemon samplecfg/dnone0.txt
>
> Jonathan
>
> Jawwad wrote:
>> Need to make sure you have samplecfg/dnon0.txt in the same dir as
>> ./MNLDaemon usually MNLDaemon is in MNL_src_.. so you have to call it  
>> from
>> previous dir by saying
>> ./MNLDaemon ~/<your_dir_where_samplecfg_is_located>/samplecfg/dnon0.txt
>>
>> -----Original Message-----
>> From: ee122-bounces at ICSI.Berkeley.EDU
>> [mailto:ee122-bounces at ICSI.Berkeley.EDU] On Behalf Of Jonathan D.  
>> Ellithorpe
>> Sent: Tuesday, December 11, 2007 2:17 PM
>> To: ee122 at ICSI.Berkeley.EDU
>> Subject: [ee122] ./MNLDaemon: Invalid argument.
>>
>> I'm trying to run mnldaemon on sphere.cs.berkeley.edu, and when I try
>> ./MNLDaemon samplecfg/dnon0.txt the machine says that the argument is
>> invalid.
>>
>> Anybody know what's going on? I've recompiled for sphere and the daemon
>> is in a separate folder (MNLSphere on sphere versus MNLc199 for c199).
>>
>> Thanks!
>>
>> Jonathan
>> _______________________________________________
>> ee122 mailing list
>> ee122 at mailman.ICSI.Berkeley.EDU
>> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/ee122
>>
>>
>>
>
> _______________________________________________
> ee122 mailing list
> ee122 at mailman.ICSI.Berkeley.EDU
> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/ee122



-- 
~Simon Tan >> undergraduate at UC Berkeley
Source: simtan at berkeley.edu


More information about the ee122 mailing list