Jump to content

Re: A Statistical Test Suite for Random and Pseudorandom Number Generators by NIST

- - - - -

  • Please log in to reply
5 replies to this topic

#1
samkkk

samkkk

    Newbie

  • Members
  • Pip
  • 5 posts
I'm new to this program (A Statistical Test Suite for Random and Pseudorandom Number Generators by NIST). So, can someone please help me with how to compile and run this program on Ubuntu?

#2
Alexander

Alexander

    It's Science!

  • Moderators
  • 4,118 posts
  • Location:Vancouver, Eh! Cleverness: 200
I've moved this to a new thread, try not to raise old threads to post an off topic question.

The application appears to have a make file, so as long as you have build-essentials package along with gcc you can simply type "make" to install the application in the current folder. You can then type "sudo make install" to install the application to the default application folder if required.

Do you know how to build an application like this?

Edited by Alexander, 09 May 2011 - 12:52 AM.

Be sure to read the updated FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.

#3
samkkk

samkkk

    Newbie

  • Members
  • Pip
  • 5 posts
No I don't know how. can you please show me how?
I did type make Then I trid to run this command "sudo make install" But i got this message "No rule to make target 'install'"
forgave me

#4
Alexander

Alexander

    It's Science!

  • Moderators
  • 4,118 posts
  • Location:Vancouver, Eh! Cleverness: 200
If you haven't already, you must install two packages of which give you a compiler and compiler tools to be able to build applications. You can type this in to your terminal:
sudo apt-get install gcc build-essential

This assumes (hopefully) you are not root and are your own user. You just type in your own password after the prompt and it should install.

You next must open the .tar file (or whichever format the NIST suite is in) and extract the folder to your desktop, or a temporary folder.

Inside the folder should be a file named "Makefile", this file contains a list of commands that your compiler tools will use to build the source application. It is how most Linux applications are installed (unless inside a package like .deb).

You must manually open a terminal and find the folder you have extracted (using the cd command to change directory, and ls command to list directories and files if you cannot find it) and type the following:
make

This will search for the file named Makefile in the current directory and execute all the commands, it should not take very long. It will create an executable named "assess" or similar (remember linux executables often have no extension), and you can run it by typing:
./assess

The pdf file that is on the page where the download is for the suite should give you all you need to know.
Be sure to read the updated FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.

#5
samkkk

samkkk

    Newbie

  • Members
  • Pip
  • 5 posts
Thank you. It works

#6
Alexander

Alexander

    It's Science!

  • Moderators
  • 4,118 posts
  • Location:Vancouver, Eh! Cleverness: 200
Glad you could get it to work, you are welcome.
Be sure to read the updated FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users