Skip to main content


Showing posts from October, 2011

PyTorch Code for Simple Neural Networks for MNIST Dataset

NS2.35 installation in Fedora 15 and Ubuntu 11.10

NS 2.35 can be installed successfully in Fedora 15 and Ubuntu 11.10 using the following steps In Fedora 15 Download ns-allinone-2.35 from the NS2 website. The recent version was RC8 select the folder /home/username, untar the file using the command " tar zxvf ns-allinone-xxx.tar.gz " (without quotes). Go to the folder /home/username/ns-allinone-2.35/ using the command cd  /home/username/ns-allinone-2.35 /  and execute the command ./install (dot /install) You may encounter an error in the file mac_80211Ext.h and correct the error given in the following line Open the file /home/username/ns-allinone-2.35/ns-2.35/mac/mac_80211Ext.h and include the following line in the header file area #include <cstddef> Go to step3 and type ./install   Once installation completed, set the path information in .bash_profile (dot bash_profile) you need to set two path variables PATH and LD_LIBRARY_PATH please see this link for setting the path