How to build nr -u module for ns-3-dev (ns-3.36.1) - need suggestion

136 views
Skip to first unread message

Akimun Jannat Alvina

unread,
Aug 17, 2022, 5:25:25 PM8/17/22
to ns-3-users

Hi all,

I am unable to access nr-u module. I have a working ns3 (ns-3.36.1) and nr module and wanted to build nr-u on top of that. I might need permission to access it. I do have a guest access to the MONET/nr which I requested last year. 

However, following is the error I got when I ran the first line: 

git clone g...@gitlab.com:cttc-lena/nr-u.git

Cloning into 'nr-u'...

g...@gitlab.com: Permission denied (publickey).

fatal: Could not read from remote repository.

 

Please make sure you have the correct access rights

and the repository exists.


Please provide your valuable suggestion.

Thanks,

Alvina

Charles Pandian

unread,
Aug 18, 2022, 4:36:26 AM8/18/22
to ns-3-...@googlegroups.com
Now the Lena project at GitLab is open to public access. So one can download it without having any access tokens/passwords.

In fact, I tried to install it under chroot-based environment and it seems to be working good. So, it will work good on suitable native Linux installation.
You may try it on the latest linux in which ns-3-dev version can be installed without any gcc related compatibility issues.

I think, after cloning the latest ns-3-dev, you should  "checkout" to correct the ns-3 version as mentioned in the official installation procedure and as I did in step-1 of my procedure- it may be important for a successful install of nr module.

If you are "checkout" to the correct ns-3 version and resuming the nr module installation, hopefully, it will work. (the installation issues that I presented in my post are only chroot related only - you will not face them while trying it on a native Linux install)


Charles Pandian,



--
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 the Google Groups "ns-3-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-3-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ns-3-users/f6a1a3bd-f40e-43ae-8066-be005b4a92fbn%40googlegroups.com.

Charles Pandian

unread,
Aug 18, 2022, 4:51:55 AM8/18/22
to ns-3-...@googlegroups.com

To overcome the "permission denied" error, you may use the correct https link of nr-u :

$ git clone https://gitlab.com/cttc-lena/nr-u.git

Charles Pandian,

Akimun Jannat Alvina

unread,
Aug 18, 2022, 12:55:51 PM8/18/22
to ns-3-...@googlegroups.com
Hi Charles, 

Thank you so much for your help. I installed nr module successfully. I wanted to build nr-u module. Did you install nr-u module as well? How did it go? 

Thanks, 
Alvina 

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/7USdArgprao/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ns-3-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ns-3-users/CAHXeiM-hB3KQ8Vkn%3D9xE5DTUY0qHw4ETiwqTSkKUPJUMz44scw%40mail.gmail.com.

Charles Pandian

unread,
Aug 18, 2022, 3:21:38 PM8/18/22
to ns-3-...@googlegroups.com
Just clone it under src folder and then configure & compile it as usual. 
check:
https://groups.google.com/g/ns-3-users/c/7BACgOR27hU

Charles Pandian,



Akimun Jannat Alvina

unread,
Aug 18, 2022, 3:36:37 PM8/18/22
to ns-3-...@googlegroups.com
Hi Charles,

I followed accordingly but the nr-u module cannot be built.

nr-u.png

Any suggestions?

Best,
Alvina

 width=Virus-free.www.avg.com

Charles Pandian

unread,
Aug 19, 2022, 10:22:51 AM8/19/22
to ns-3-...@googlegroups.com
According to my understanding, nr-u is meant for an old version of ns-3 and  only will support waf-based configuration and compiling.

The new ns-3.36 is cmake-based one - so you can not configure and compile nr-u under this.

Solution: you may try to compile both nr and nr-u under old ns2 (like ns-3.35) which will support  waf-based configuration and compiling.

Charles Pandian,



Mohammadreza Fasihi

unread,
Nov 2, 2022, 2:53:34 PM11/2/22
to ns-3-users
Hi,

Is this problem solved now? I cannot configure nr-u module for ns3 too.Screenshot 2022-11-02 at 2.53.08 PM.png

Tom Henderson

unread,
Nov 2, 2022, 3:04:14 PM11/2/22
to ns-3-...@googlegroups.com, Mohammadreza Fasihi
Please ask questions about nr and related modules on the 5G-lena group:
https://5g-lena.cttc.es/

CTTC is working on updating code to the latest release, but it was just
published yesterday, and I don't know their timetable for other modules
(or whether they want someone in the community to help with porting).

- Tom



On 11/2/22 11:53, Mohammadreza Fasihi wrote:
> Hi,
>
> Is this problem solved now? I cannot configure nr-u module for ns3
> too.Screenshot 2022-11-02 at 2.53.08 PM.png
Reply all
Reply to author
Forward
0 new messages