Changing default working directory scratch to another

59 views
Skip to first unread message

Arun

unread,
Mar 15, 2019, 4:13:59 PM3/15/19
to ns-3-users
I want to change in NS3 the default working directory from  scratch to other directory named mymork. Is it possible to change??. My topology is in mywrok direcotry.

pdbarnes

unread,
Mar 16, 2019, 5:11:03 PM3/16/19
to ns-3-users
Yes there is a waf command line option to do that.

Peter

arun soman

unread,
Mar 16, 2019, 5:13:13 PM3/16/19
to ns-3-...@googlegroups.com
Could you please mention the command.because I searched the document but I couldn’t find 

On Sat, Mar 16, 2019 at 5:11 PM 'pdbarnes' via ns-3-users <ns-3-...@googlegroups.com> wrote:
Yes there is a waf command line option to do that.

Peter

--
Posting to this group should follow these guidelines https://www.nsnam.org/wiki/Ns-3-users-guidelines-for-posting
---
You received this message because you are subscribed to a topic in the Google Groups "ns-3-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ns-3-users/YK0Tb5To6-0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ns-3-users+...@googlegroups.com.
To post to this group, send email to ns-3-...@googlegroups.com.
Visit this group at https://groups.google.com/group/ns-3-users.
For more options, visit https://groups.google.com/d/optout.
--
Arun Soman


pdbarnes

unread,
Mar 16, 2019, 5:26:44 PM3/16/19
to ns-3-users
./waf —help will show you the options.

Peter

arun soman

unread,
Mar 16, 2019, 7:50:48 PM3/16/19
to ns-3-...@googlegroups.com
Hi,
--top is the command I tried this but I am getting error 

./waf configure --top=test

import cflags # override the build profiles from waf
ImportError: No module named cflags



On Sat, Mar 16, 2019 at 5:26 PM 'pdbarnes' via ns-3-users <ns-3-...@googlegroups.com> wrote:
./waf —help will show you the options.

Peter

--
Posting to this group should follow these guidelines https://www.nsnam.org/wiki/Ns-3-users-guidelines-for-posting
---
You received this message because you are subscribed to a topic in the Google Groups "ns-3-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ns-3-users/YK0Tb5To6-0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ns-3-users+...@googlegroups.com.
To post to this group, send email to ns-3-...@googlegroups.com.
Visit this group at https://groups.google.com/group/ns-3-users.
For more options, visit https://groups.google.com/d/optout.


--
Arun Soman


pdbarnes

unread,
Mar 18, 2019, 12:54:47 PM3/18/19
to ns-3-users
I think what you want is

 --cwd=CWD_LAUNCH      Set the working directory for a program.

--top is for configuration, not run time

Peter
Reply all
Reply to author
Forward
0 new messages