https://computing.ece.vt.edu/mediawiki/api.php?action=feedcontributions&user=Pharsh22&feedformat=atomCVL Wiki - User contributions [en]2024-03-29T09:22:48ZUser contributionsMediaWiki 1.19.1https://computing.ece.vt.edu/wiki/How_to_use_Software_on_CVLHow to use Software on CVL2015-12-09T23:37:12Z<p>Pharsh22: </p>
<hr />
<div>Softwares that run on CVl Workstations<br />
<br />
<br>[[ADS]]<br />
<br>[[CScope]]<br />
<br>[[LayoutEditor]]<br />
<br>[[Mathematica]]<br />
<br>[[Matlab]]<br />
<br>[[ModelSim]]<br />
<br>[[OPNET]]<br />
<br>[[ParaView]]<br />
<br>[[Quartus]]<br />
<br>[[RFDE]]<br />
<br>[[Saber]]<br />
<br>[[Sonnet]]</div>Pharsh22https://computing.ece.vt.edu/wiki/How_to_use_Software_on_CVLHow to use Software on CVL2015-12-09T23:36:56Z<p>Pharsh22: </p>
<hr />
<div>Softwares that run on CVl Workstations<br />
<br />
<br>[[ADS]]<br />
<br>[[CScope]]<br />
<br>[[LayoutEditor]]<br />
<br>[[Mathematica]]<br />
<br>[[Matlab]]<br />
<br>[[ModelSim]]<br />
<br>[[ParaView]]<br />
<br>[[Quartus]]<br />
<br>[[RFDE]]<br />
<br>[[Saber]]<br />
<br>[[Sonnet]]</div>Pharsh22https://computing.ece.vt.edu/wiki/How_to_use_Software_on_CVLHow to use Software on CVL2015-12-09T23:36:45Z<p>Pharsh22: </p>
<hr />
<div>Softwares that run on CVl Workstations<br />
<br />
<br>[[ADS]]<br />
<br>[[CScope]]<br />
<br>[[LayoutEditor]]<br />
<br>[[Mathematica]]<br />
<br>[[Matlab]]<br />
<br>[[ModelSim]]<br />
<br>[[OpNet]]<br />
<br>[[ParaView]]<br />
<br>[[Quartus]]<br />
<br>[[RFDE]]<br />
<br>[[Saber]]<br />
<br>[[Sonnet]]</div>Pharsh22https://computing.ece.vt.edu/wiki/How_to_use_Software_on_CVLHow to use Software on CVL2015-12-09T23:29:23Z<p>Pharsh22: </p>
<hr />
<div>Softwares that run on CVl Workstations<br />
<br />
<br>[[ADS]]<br />
<br>[[CScope]]<br />
<br>[[LayoutEditor]]<br />
<br>[[Mathematica]]<br />
<br>[[Matlab]]<br />
<br>[[ModelSim]]<br />
<br>[[ParaView]]<br />
<br>[[Quartus]]<br />
<br>[[RFDE]]<br />
<br>[[Saber]]<br />
<br>[[Sonnet]]</div>Pharsh22https://computing.ece.vt.edu/wiki/Using_the_CVLUsing the CVL2015-12-09T23:12:36Z<p>Pharsh22: </p>
<hr />
<div>==CVL Introduction==<br />
*The CVL runs on Linux/Unix servers, primarily CentOS (a Red Hat derivative). As such, familiarity with the Unix command-line is a useful skill.<br />
*You can access the CVL and it's software while working on a project from home or campus. This generally comes in either command-line form or as a graphical application launched via the command-line (referred to as a "shell"). There are many tutorials from which you can familiarize yourself with the basic unix commands that can be performed via the command-line shell. Fortunately, not very many of these command-line utilities are required to access and use the CVL software. <br />
<br />
*The most general commands you use to navigate the file system are:<br />
**'''ls''': listing the files in your home directory<br />
**'''cd''': changing directory<br />
**'''mkdir''': making project directories<br />
**'''mv''': moving files in and out of the directories<br />
<br />
Here are some examples of tutorials:<br />
*'''[http://www.ee.surrey.ac.uk/Teaching/Unix/ UNIX / Linux Tutorial for Beginners]'''<br />
*'''[http://linoxide.com/guide/linux-command-shelf.html Linux Commands in structured order]'''<br />
<br />
==Connecting to the CVL remotely==<br />
*The standard way to connect to the CVL remotely is with the program called "Secure Shell" (SSH), which has wide support on many operating systems. SSH establishes a secure, encrypted connection from the local shell to a command shell on a remote machine, and even allows for file transfers over the same encrypted channel.<br />
<br />
'''Applications on Unix are not restricted to just command-line programs!'''<br />
<br />
*The Unix standard for graphical applications is called "X-windows," or just "X" for short. In fact, the graphics capabilities of this X-windows system are much more flexible than in the Windows or MacOS because they allow for interactions (viewing windows, buttons, pointing, clicking, etc) on a different machine than the one running the application. All that is required is a network connection between the two, and what's referred to as an "X-server" on the local machine that allows the user to physically view the windows and manipulate the mouse. This "client/server" naming convention seems backwards in that the "server" runs on the local computer (e.g. your Windows laptop), and the "client" is the application running on the CVL (e.g. Matlab). Linux clients generally have this X-server installed by default, but Windows users have to install one if graphical access to the CVL is required.<br />
<br />
==Connecting with Windows==<br />
<br />
*In order to access the CVL from a Windows system, you must have a SSH client and a X-windows server installed on your Windows machine. We recommend using '''[[MobaXterm]]''', an all-in-one program that lets you SSH with X11-Fowarding enabled, and lets you copy files to and from your Windows machine to the remote server. <br />
<br />
*Click the link below to see How to Install and use MobaXterm to connect to CVL<br />
==='''[[MobaXterm]]'''===<br />
<br />
==Connecting with Linux/Unix==<br />
<br />
#Open a terminal (shell) and type:<br />
<br />
ssh -X ECEUSERNAME@cvlws[01-06].ece.vt.edu<br />
<br />
#Enter your ECE credentials (see [[Main Page]] to edit or create your account)<br />
<br />
===Moving files to the CVL===<br />
To copy a file from your local computer to your CVL home directory, type the following command:<br />
<br />
scp localfile ECEUSERNAME@cvl.ece.vt.edu:<br />
<br />
Use -r to copy the whole directory (folder)<br />
<br />
scp -r ~/directory ECEUSERNAME@cvl.ece.vt.edu:<br />
<br />
To copy a file from your CVL home directory to your local computer, type the following command:<br />
<br />
scp ECEUSERNAME@cvl.ece.vt.edu:remotefile ~/LocalDirectory <br />
<br />
Use -r command to copy the whole directory<br />
<br />
scp -r ECEUSERNAME@cvl.ece.vt.edu:remoteDirectory ~/LocalDirectory</div>Pharsh22https://computing.ece.vt.edu/wiki/Using_the_CVLUsing the CVL2015-12-09T23:12:13Z<p>Pharsh22: </p>
<hr />
<div>==CVL Introduction==<br />
*The CVL runs on Linux/Unix servers, primarily CentOS (a Red Hat derivative). As such, familiarity with the Unix command-line is a useful skill.<br />
*You can access the CVL and it's software while working on a project from home or campus. This generally comes in either command-line form or as a graphical application launched via the command-line (referred to as a "shell"). There are many tutorials from which you can familiarize yourself with the basic unix commands that can be performed via the command-line shell. Fortunately, not very many of these command-line utilities are required to access and use the CVL software. <br />
<br />
*The most general commands you use to navigate the file system are:<br />
**'''ls''': listing the files in your home directory<br />
**'''cd''': changing directory<br />
**'''mkdir''': making project directories<br />
**'''mv''': moving files in and out of the directories<br />
<br />
Here are some examples of tutorials:<br />
*'''[http://www.ee.surrey.ac.uk/Teaching/Unix/ UNIX / Linux Tutorial for Beginners]'''<br />
*'''[http://linoxide.com/guide/linux-command-shelf.html Linux Commands in structured order]'''<br />
<br />
==Connecting to the CVL remotely==<br />
*The standard way to connect to the CVL remotely is with the program called "Secure Shell" (SSH), which has wide support on many operating systems. SSH establishes a secure, encrypted connection from the local shell to a command shell on a remote machine, and even allows for file transfers over the same encrypted channel.<br />
<br />
'''Applications on Unix are not restricted to just command-line programs!'''<br />
<br />
*The Unix standard for graphical applications is called "X-windows," or just "X" for short. In fact, the graphics capabilities of this X-windows system are much more flexible than in the Windows or MacOS because they allow for interactions (viewing windows, buttons, pointing, clicking, etc) on a different machine than the one running the application. All that is required is a network connection between the two, and what's referred to as an "X-server" on the local machine that allows the user to physically view the windows and manipulate the mouse. This "client/server" naming convention seems backwards in that the "server" runs on the local computer (e.g. your Windows laptop), and the "client" is the application running on the CVL (e.g. Matlab). Linux clients generally have this X-server installed by default, but Windows users have to install one if graphical access to the CVL is required.<br />
<br />
==Connecting with Windows==<br />
<br />
*In order to access the CVL from a Windows system, you must have a SSH client and a X-windows server installed on your Windows machine. We recommend using '''[[MobaXterm]]''', an all-in-one program that lets you SSH with X11-Fowarding enabled, and lets you copy files to and from your Windows machine to the remote server. <br />
<br />
*Click the link below to see How to Install and use MobaXterm to connect to CVL<br />
==='''[[MobaXterm]]'''===<br />
<br />
==Connecting with Linux/Unix==<br />
<br />
#Open a terminal (shell) and type:<br />
<br />
ssh -X ECEUSERNAME@cvlws[01-06].ece.vt.edu<br />
<br />
#Enter your ECE credentials (see [[Main Page]] to edit or create your account)<br />
<br />
===Moving files to the CVL===<br />
To copy a file from your local computer to your CVL home directory, type the following command:<br />
<br />
scp localfile ECEUSERNAME@cvl.ece.vt.edu:<br />
<br />
Use -r to copy the whole directory (folder)<br />
<br />
scp -r ~/directory ECEUSERNAME@cvl.ece.vt.edu:<br />
<br />
To copy a file from your CVL home directory to your local computer, type the following command:<br />
<br />
scp ECEUSERNAME@cvl.ece.vt.edu:remotefile ~/LocalDirectory <br />
<br />
Use -r command to copy the whole directory<br />
<br />
scp -r ECEUSERNAME@cvl.ece.vt.edu:remoteDirectory ~/</div>Pharsh22https://computing.ece.vt.edu/wiki/MatlabMatlab2015-12-02T16:57:07Z<p>Pharsh22: </p>
<hr />
<div><br />
<br />
[[Image:Matlab.jpg|right]]<br />
=How to use Matlab on CVL=<br />
Make sure you are '''[[Using the CVL|logged in]]''' to any of the 6 CVL Workstations.<br />
<br><br>Type the following command<br />
matlab<br />
<br />
=General Information about Matlab=<br />
MatLab is a program developed by MathWorks Incorporated. This program provides a high-level language and interactive environment that enables<br />
you to perform computationally intensive tasks faster than with traditional programming languages such as C, C++, and Fortran.<br />
<br />
'''The "Toolboxes" that the Virginia Tech license offers are:'''<br />
*Simulink<br />
*Aerospace Blockset<br />
*Aerospace Toolbox<br />
*Bioinformatics Toolbox<br />
*Communications System Toolbox<br />
*Computer Vision System Toolbox<br />
*Control System Toolbox<br />
*Curve Fitting Toolbox<br />
*DSP System Toolbox<br />
*Data Acquisition Toolbox<br />
*Database Toolbox<br />
*Embedded Coder<br />
*Fixed-Point Toolbox<br />
*Fuzzy Logic Toolbox<br />
*Global Optimization Toolbox<br />
*HDL Coder<br />
*Image Acquisition Toolbox<br />
*Image Processing Toolbox<br />
*Instrument Control Toolbox<br />
*LMI Control Toolbox (Transitioned) <br />
*MATLAB Builder NE<br />
*MATLAB Coder<br />
*MATLAB Compiler<br />
*MATLAB® C/C++ Math Library (Transitioned) <br />
*Mapping Toolbox<br />
*Mu-Analysis and Synthesis Toolbox (Transitioned) <br />
*Neural Network Toolbox<br />
*Optimization Toolbox<br />
*Parallel Computing Toolbox<br />
*Partial Differential Equation Toolbox<br />
*Robust Control Toolbox<br />
*Signal Processing Toolbox<br />
*SimBiology<br />
*SimElectronics<br />
*SimEvents<br />
*SimMechanics<br />
*SimPowerSystems<br />
*Simscape<br />
*Simulink 3D Animation<br />
*Simulink Coder<br />
*Simulink Control Design<br />
*Simulink Fixed Point<br />
*Spline Toolbox (Transitioned) <br />
*Spreadsheet Link EX<br />
*Stateflow<br />
*Stateflow Coder (Transitioned) <br />
*Statistics Toolbox<br />
*Symbolic Math Toolbox<br />
*System Identification Toolbox<br />
*Wavelet Toolbox<br />
*xPC Target<br />
<br />
<br />
'''Toolboxes that have been integrated with other Toolboxes:'''<br />
<br />
<br>The Robust Control Toolbox has merged with the following toolboxes<br />
* Mu-Analysis and Synthesis <br />
* LMI Control<br />
<br />
=Installing Matlab=<br />
<br />
Email support@ece.vt.edu for installation directions.<br />
<br />
==Installing Matlab on Linux/UNIX==<br />
<br />
*This Section is under construction.<br />
<br />
==Installing Matlab on MAC OSX==<br />
<br />
==Using the MPI parallel toolbox==<br />
The CVL lab has installed a toolbox that simplifies parallelizing matlab code. This is the location of the [http://einar.heiberg.se/mpi/index.html Matlab Parallelization Toolkit]. It utilizes a Master/Slave arrangement to automatically login to multiple machines and have them individually run parts of a matlab script. The majority of the setup and configuration has been done on all of the CVL machines, but it is not in your matlab path by default. <br />
<br />
*In order to access the MPI toolbox, you must manually add the directory '/software/MPI' to your path, either with the matlab path GUI, or with the command <br />
addpath /software/MPI<br />
*Once this is done, more information on how to operate the toolkit can be obtained by typing <br />
help MPI from the matlab command window.<br />
<br />
*The [http://computing.ece.vt.edu/MPI/example2.m following] is an example of how to implement the toolbox in matlab code<br />
<br />
%This part defines how many nodes to try to use<br />
%connects to available machines, and fires a Matlab slave node<br />
addpath /software/MPI<br />
%addpath /software/MPI_VAL32<br />
<br />
%Read the config file set up for the cluster<br />
mconfig = pconfig;<br />
%Use all the machines available<br />
Nparallel = length(mconfig);<br />
%Run this many MATLAB processes per machine. This should be set to 1 to<br />
%make resources available for others.<br />
Nperhost = 1;<br />
<br />
%Fire up matlab on the slaves. It may be worth using the load-checking<br />
%version of psetup('available', Nparallel*Nperhost);<br />
for j=1:Nparallel<br />
psetup(mconfig{j}{1}, Nperhost);<br />
end<br />
<br />
<br />
%A example of a data set to chew on<br />
a = rand(64, 64, 32);<br />
res = zeros(size(a));<br />
<br />
%Run a parallel profiler on the code to be run to see how much speedup there was (optional)<br />
pprofile on -detail builtin<br />
<br />
%The main parallel loop.<br />
%It executes the function 'exampleloop.m'<br />
pfor(1:size(a, 3), 'res(:, :, %d) = exampleloop(a(:, :, %d));');<br />
<br />
%Finish the parallel profile stats collection<br />
s = pprofile('report');<br />
<br />
<br />
%Once the main computation is done, shut-down all the slave Matlab nodes<br />
MPI_Finalize;<br />
<br />
[http://computing.ece.vt.edu/MPI/exampleloop.m Here's] a functional example of an 'exampleloop.m' matlab function<br />
function out = exampleloop(in)<br />
<br />
tempout = in<br />
N=10000;<br />
for i=1:N<br />
tempout = inv(tempout) + rand(size(tempout));<br />
end<br />
out = tempout<br />
<br />
<br />
One important point to note is that a portion of the MPI toolbox library must be compiled for the platform it's being run on. This has already been done for most of the CVL machines being run as 64-bit Linux. If the toolbox is to be used on a 32-bit Linux installation, a the [http://computing.ece.vt.edu/MPI/MPI121_CVL.tar.gz MPI library] will have to be installed into your home directory (or somehwere else you have write permission). It will also have to be added to your matlab path, and<br />
makeMPI<br />
must be issued from the matlab command prompt. The matlab installation must include mex, mcc, gcc, and g++ compiler properly installed.<br />
<br />
<br />
==Help==<br />
<br />
For any additional questions, comments, or concerns contact your system administrator or post a ticket on [https://helpdesk.ece.vt.edu/helpdesk/index.php Help Desk].<br />
<br />
=Additional Links=<br />
<br />
[http://www.mathworks.com/ Mathworks home page]<br />
<br>[http://www.mathworks.com/academia/student_center/tutorials/launchpad.html Matlab Tutorials]<br />
<br>[http://en.wikipedia.org/wiki/MATLAB Additional information about Matlab]<br />
<br>[http://www.gnu.org/software/octave/octave.html Octave] A Free alternative to Matlab</div>Pharsh22https://computing.ece.vt.edu/wiki/MatlabMatlab2015-12-02T16:56:52Z<p>Pharsh22: </p>
<hr />
<div><br />
<br />
[[Image:Matlab.jpg|right]]<br />
=How to use Matlab on CVL=<br />
Make sure you are '''[[Using the CVL|logged in]]''' to any of the 6 CVL Workstations.<br />
<br>Type the following command<br />
matlab<br />
<br />
=General Information about Matlab=<br />
MatLab is a program developed by MathWorks Incorporated. This program provides a high-level language and interactive environment that enables<br />
you to perform computationally intensive tasks faster than with traditional programming languages such as C, C++, and Fortran.<br />
<br />
'''The "Toolboxes" that the Virginia Tech license offers are:'''<br />
*Simulink<br />
*Aerospace Blockset<br />
*Aerospace Toolbox<br />
*Bioinformatics Toolbox<br />
*Communications System Toolbox<br />
*Computer Vision System Toolbox<br />
*Control System Toolbox<br />
*Curve Fitting Toolbox<br />
*DSP System Toolbox<br />
*Data Acquisition Toolbox<br />
*Database Toolbox<br />
*Embedded Coder<br />
*Fixed-Point Toolbox<br />
*Fuzzy Logic Toolbox<br />
*Global Optimization Toolbox<br />
*HDL Coder<br />
*Image Acquisition Toolbox<br />
*Image Processing Toolbox<br />
*Instrument Control Toolbox<br />
*LMI Control Toolbox (Transitioned) <br />
*MATLAB Builder NE<br />
*MATLAB Coder<br />
*MATLAB Compiler<br />
*MATLAB® C/C++ Math Library (Transitioned) <br />
*Mapping Toolbox<br />
*Mu-Analysis and Synthesis Toolbox (Transitioned) <br />
*Neural Network Toolbox<br />
*Optimization Toolbox<br />
*Parallel Computing Toolbox<br />
*Partial Differential Equation Toolbox<br />
*Robust Control Toolbox<br />
*Signal Processing Toolbox<br />
*SimBiology<br />
*SimElectronics<br />
*SimEvents<br />
*SimMechanics<br />
*SimPowerSystems<br />
*Simscape<br />
*Simulink 3D Animation<br />
*Simulink Coder<br />
*Simulink Control Design<br />
*Simulink Fixed Point<br />
*Spline Toolbox (Transitioned) <br />
*Spreadsheet Link EX<br />
*Stateflow<br />
*Stateflow Coder (Transitioned) <br />
*Statistics Toolbox<br />
*Symbolic Math Toolbox<br />
*System Identification Toolbox<br />
*Wavelet Toolbox<br />
*xPC Target<br />
<br />
<br />
'''Toolboxes that have been integrated with other Toolboxes:'''<br />
<br />
<br>The Robust Control Toolbox has merged with the following toolboxes<br />
* Mu-Analysis and Synthesis <br />
* LMI Control<br />
<br />
=Installing Matlab=<br />
<br />
Email support@ece.vt.edu for installation directions.<br />
<br />
==Installing Matlab on Linux/UNIX==<br />
<br />
*This Section is under construction.<br />
<br />
==Installing Matlab on MAC OSX==<br />
<br />
==Using the MPI parallel toolbox==<br />
The CVL lab has installed a toolbox that simplifies parallelizing matlab code. This is the location of the [http://einar.heiberg.se/mpi/index.html Matlab Parallelization Toolkit]. It utilizes a Master/Slave arrangement to automatically login to multiple machines and have them individually run parts of a matlab script. The majority of the setup and configuration has been done on all of the CVL machines, but it is not in your matlab path by default. <br />
<br />
*In order to access the MPI toolbox, you must manually add the directory '/software/MPI' to your path, either with the matlab path GUI, or with the command <br />
addpath /software/MPI<br />
*Once this is done, more information on how to operate the toolkit can be obtained by typing <br />
help MPI from the matlab command window.<br />
<br />
*The [http://computing.ece.vt.edu/MPI/example2.m following] is an example of how to implement the toolbox in matlab code<br />
<br />
%This part defines how many nodes to try to use<br />
%connects to available machines, and fires a Matlab slave node<br />
addpath /software/MPI<br />
%addpath /software/MPI_VAL32<br />
<br />
%Read the config file set up for the cluster<br />
mconfig = pconfig;<br />
%Use all the machines available<br />
Nparallel = length(mconfig);<br />
%Run this many MATLAB processes per machine. This should be set to 1 to<br />
%make resources available for others.<br />
Nperhost = 1;<br />
<br />
%Fire up matlab on the slaves. It may be worth using the load-checking<br />
%version of psetup('available', Nparallel*Nperhost);<br />
for j=1:Nparallel<br />
psetup(mconfig{j}{1}, Nperhost);<br />
end<br />
<br />
<br />
%A example of a data set to chew on<br />
a = rand(64, 64, 32);<br />
res = zeros(size(a));<br />
<br />
%Run a parallel profiler on the code to be run to see how much speedup there was (optional)<br />
pprofile on -detail builtin<br />
<br />
%The main parallel loop.<br />
%It executes the function 'exampleloop.m'<br />
pfor(1:size(a, 3), 'res(:, :, %d) = exampleloop(a(:, :, %d));');<br />
<br />
%Finish the parallel profile stats collection<br />
s = pprofile('report');<br />
<br />
<br />
%Once the main computation is done, shut-down all the slave Matlab nodes<br />
MPI_Finalize;<br />
<br />
[http://computing.ece.vt.edu/MPI/exampleloop.m Here's] a functional example of an 'exampleloop.m' matlab function<br />
function out = exampleloop(in)<br />
<br />
tempout = in<br />
N=10000;<br />
for i=1:N<br />
tempout = inv(tempout) + rand(size(tempout));<br />
end<br />
out = tempout<br />
<br />
<br />
One important point to note is that a portion of the MPI toolbox library must be compiled for the platform it's being run on. This has already been done for most of the CVL machines being run as 64-bit Linux. If the toolbox is to be used on a 32-bit Linux installation, a the [http://computing.ece.vt.edu/MPI/MPI121_CVL.tar.gz MPI library] will have to be installed into your home directory (or somehwere else you have write permission). It will also have to be added to your matlab path, and<br />
makeMPI<br />
must be issued from the matlab command prompt. The matlab installation must include mex, mcc, gcc, and g++ compiler properly installed.<br />
<br />
<br />
==Help==<br />
<br />
For any additional questions, comments, or concerns contact your system administrator or post a ticket on [https://helpdesk.ece.vt.edu/helpdesk/index.php Help Desk].<br />
<br />
=Additional Links=<br />
<br />
[http://www.mathworks.com/ Mathworks home page]<br />
<br>[http://www.mathworks.com/academia/student_center/tutorials/launchpad.html Matlab Tutorials]<br />
<br>[http://en.wikipedia.org/wiki/MATLAB Additional information about Matlab]<br />
<br>[http://www.gnu.org/software/octave/octave.html Octave] A Free alternative to Matlab</div>Pharsh22https://computing.ece.vt.edu/wiki/MatlabMatlab2015-12-01T23:41:33Z<p>Pharsh22: /* How to use Matlab on CVL */</p>
<hr />
<div><br />
<br />
[[Image:Matlab.jpg|right]]<br />
=How to use Matlab on CVL=<br />
Make sure you are '''[[Using the CVL|logged in]]''' to any of the 6 CVL Workstations<br />
Type the following command<br />
matlab<br />
<br />
=General Information about Matlab=<br />
MatLab is a program developed by MathWorks Incorporated. This program provides a high-level language and interactive environment that enables<br />
you to perform computationally intensive tasks faster than with traditional programming languages such as C, C++, and Fortran.<br />
<br />
'''The "Toolboxes" that the Virginia Tech license offers are:'''<br />
*Simulink<br />
*Aerospace Blockset<br />
*Aerospace Toolbox<br />
*Bioinformatics Toolbox<br />
*Communications System Toolbox<br />
*Computer Vision System Toolbox<br />
*Control System Toolbox<br />
*Curve Fitting Toolbox<br />
*DSP System Toolbox<br />
*Data Acquisition Toolbox<br />
*Database Toolbox<br />
*Embedded Coder<br />
*Fixed-Point Toolbox<br />
*Fuzzy Logic Toolbox<br />
*Global Optimization Toolbox<br />
*HDL Coder<br />
*Image Acquisition Toolbox<br />
*Image Processing Toolbox<br />
*Instrument Control Toolbox<br />
*LMI Control Toolbox (Transitioned) <br />
*MATLAB Builder NE<br />
*MATLAB Coder<br />
*MATLAB Compiler<br />
*MATLAB® C/C++ Math Library (Transitioned) <br />
*Mapping Toolbox<br />
*Mu-Analysis and Synthesis Toolbox (Transitioned) <br />
*Neural Network Toolbox<br />
*Optimization Toolbox<br />
*Parallel Computing Toolbox<br />
*Partial Differential Equation Toolbox<br />
*Robust Control Toolbox<br />
*Signal Processing Toolbox<br />
*SimBiology<br />
*SimElectronics<br />
*SimEvents<br />
*SimMechanics<br />
*SimPowerSystems<br />
*Simscape<br />
*Simulink 3D Animation<br />
*Simulink Coder<br />
*Simulink Control Design<br />
*Simulink Fixed Point<br />
*Spline Toolbox (Transitioned) <br />
*Spreadsheet Link EX<br />
*Stateflow<br />
*Stateflow Coder (Transitioned) <br />
*Statistics Toolbox<br />
*Symbolic Math Toolbox<br />
*System Identification Toolbox<br />
*Wavelet Toolbox<br />
*xPC Target<br />
<br />
<br />
'''Toolboxes that have been integrated with other Toolboxes:'''<br />
<br />
<br>The Robust Control Toolbox has merged with the following toolboxes<br />
* Mu-Analysis and Synthesis <br />
* LMI Control<br />
<br />
=Installing Matlab=<br />
<br />
Email support@ece.vt.edu for installation directions.<br />
<br />
==Installing Matlab on Linux/UNIX==<br />
<br />
*This Section is under construction.<br />
<br />
==Installing Matlab on MAC OSX==<br />
<br />
==Using the MPI parallel toolbox==<br />
The CVL lab has installed a toolbox that simplifies parallelizing matlab code. This is the location of the [http://einar.heiberg.se/mpi/index.html Matlab Parallelization Toolkit]. It utilizes a Master/Slave arrangement to automatically login to multiple machines and have them individually run parts of a matlab script. The majority of the setup and configuration has been done on all of the CVL machines, but it is not in your matlab path by default. <br />
<br />
*In order to access the MPI toolbox, you must manually add the directory '/software/MPI' to your path, either with the matlab path GUI, or with the command <br />
addpath /software/MPI<br />
*Once this is done, more information on how to operate the toolkit can be obtained by typing <br />
help MPI from the matlab command window.<br />
<br />
*The [http://computing.ece.vt.edu/MPI/example2.m following] is an example of how to implement the toolbox in matlab code<br />
<br />
%This part defines how many nodes to try to use<br />
%connects to available machines, and fires a Matlab slave node<br />
addpath /software/MPI<br />
%addpath /software/MPI_VAL32<br />
<br />
%Read the config file set up for the cluster<br />
mconfig = pconfig;<br />
%Use all the machines available<br />
Nparallel = length(mconfig);<br />
%Run this many MATLAB processes per machine. This should be set to 1 to<br />
%make resources available for others.<br />
Nperhost = 1;<br />
<br />
%Fire up matlab on the slaves. It may be worth using the load-checking<br />
%version of psetup('available', Nparallel*Nperhost);<br />
for j=1:Nparallel<br />
psetup(mconfig{j}{1}, Nperhost);<br />
end<br />
<br />
<br />
%A example of a data set to chew on<br />
a = rand(64, 64, 32);<br />
res = zeros(size(a));<br />
<br />
%Run a parallel profiler on the code to be run to see how much speedup there was (optional)<br />
pprofile on -detail builtin<br />
<br />
%The main parallel loop.<br />
%It executes the function 'exampleloop.m'<br />
pfor(1:size(a, 3), 'res(:, :, %d) = exampleloop(a(:, :, %d));');<br />
<br />
%Finish the parallel profile stats collection<br />
s = pprofile('report');<br />
<br />
<br />
%Once the main computation is done, shut-down all the slave Matlab nodes<br />
MPI_Finalize;<br />
<br />
[http://computing.ece.vt.edu/MPI/exampleloop.m Here's] a functional example of an 'exampleloop.m' matlab function<br />
function out = exampleloop(in)<br />
<br />
tempout = in<br />
N=10000;<br />
for i=1:N<br />
tempout = inv(tempout) + rand(size(tempout));<br />
end<br />
out = tempout<br />
<br />
<br />
One important point to note is that a portion of the MPI toolbox library must be compiled for the platform it's being run on. This has already been done for most of the CVL machines being run as 64-bit Linux. If the toolbox is to be used on a 32-bit Linux installation, a the [http://computing.ece.vt.edu/MPI/MPI121_CVL.tar.gz MPI library] will have to be installed into your home directory (or somehwere else you have write permission). It will also have to be added to your matlab path, and<br />
makeMPI<br />
must be issued from the matlab command prompt. The matlab installation must include mex, mcc, gcc, and g++ compiler properly installed.<br />
<br />
<br />
==Help==<br />
<br />
For any additional questions, comments, or concerns contact your system administrator or post a ticket on [https://helpdesk.ece.vt.edu/helpdesk/index.php Help Desk].<br />
<br />
=Additional Links=<br />
<br />
[http://www.mathworks.com/ Mathworks home page]<br />
<br>[http://www.mathworks.com/academia/student_center/tutorials/launchpad.html Matlab Tutorials]<br />
<br>[http://en.wikipedia.org/wiki/MATLAB Additional information about Matlab]<br />
<br>[http://www.gnu.org/software/octave/octave.html Octave] A Free alternative to Matlab</div>Pharsh22https://computing.ece.vt.edu/wiki/MatlabMatlab2015-12-01T23:41:11Z<p>Pharsh22: /* How to use Matlab on CVL */</p>
<hr />
<div><br />
<br />
[[Image:Matlab.jpg|right]]<br />
=How to use Matlab on CVL=<br />
Make sure you are [[Using the CVL|logged in]] to any of the 6 CVL Workstations<br />
Type the following command<br />
matlab<br />
<br />
=General Information about Matlab=<br />
MatLab is a program developed by MathWorks Incorporated. This program provides a high-level language and interactive environment that enables<br />
you to perform computationally intensive tasks faster than with traditional programming languages such as C, C++, and Fortran.<br />
<br />
'''The "Toolboxes" that the Virginia Tech license offers are:'''<br />
*Simulink<br />
*Aerospace Blockset<br />
*Aerospace Toolbox<br />
*Bioinformatics Toolbox<br />
*Communications System Toolbox<br />
*Computer Vision System Toolbox<br />
*Control System Toolbox<br />
*Curve Fitting Toolbox<br />
*DSP System Toolbox<br />
*Data Acquisition Toolbox<br />
*Database Toolbox<br />
*Embedded Coder<br />
*Fixed-Point Toolbox<br />
*Fuzzy Logic Toolbox<br />
*Global Optimization Toolbox<br />
*HDL Coder<br />
*Image Acquisition Toolbox<br />
*Image Processing Toolbox<br />
*Instrument Control Toolbox<br />
*LMI Control Toolbox (Transitioned) <br />
*MATLAB Builder NE<br />
*MATLAB Coder<br />
*MATLAB Compiler<br />
*MATLAB® C/C++ Math Library (Transitioned) <br />
*Mapping Toolbox<br />
*Mu-Analysis and Synthesis Toolbox (Transitioned) <br />
*Neural Network Toolbox<br />
*Optimization Toolbox<br />
*Parallel Computing Toolbox<br />
*Partial Differential Equation Toolbox<br />
*Robust Control Toolbox<br />
*Signal Processing Toolbox<br />
*SimBiology<br />
*SimElectronics<br />
*SimEvents<br />
*SimMechanics<br />
*SimPowerSystems<br />
*Simscape<br />
*Simulink 3D Animation<br />
*Simulink Coder<br />
*Simulink Control Design<br />
*Simulink Fixed Point<br />
*Spline Toolbox (Transitioned) <br />
*Spreadsheet Link EX<br />
*Stateflow<br />
*Stateflow Coder (Transitioned) <br />
*Statistics Toolbox<br />
*Symbolic Math Toolbox<br />
*System Identification Toolbox<br />
*Wavelet Toolbox<br />
*xPC Target<br />
<br />
<br />
'''Toolboxes that have been integrated with other Toolboxes:'''<br />
<br />
<br>The Robust Control Toolbox has merged with the following toolboxes<br />
* Mu-Analysis and Synthesis <br />
* LMI Control<br />
<br />
=Installing Matlab=<br />
<br />
Email support@ece.vt.edu for installation directions.<br />
<br />
==Installing Matlab on Linux/UNIX==<br />
<br />
*This Section is under construction.<br />
<br />
==Installing Matlab on MAC OSX==<br />
<br />
==Using the MPI parallel toolbox==<br />
The CVL lab has installed a toolbox that simplifies parallelizing matlab code. This is the location of the [http://einar.heiberg.se/mpi/index.html Matlab Parallelization Toolkit]. It utilizes a Master/Slave arrangement to automatically login to multiple machines and have them individually run parts of a matlab script. The majority of the setup and configuration has been done on all of the CVL machines, but it is not in your matlab path by default. <br />
<br />
*In order to access the MPI toolbox, you must manually add the directory '/software/MPI' to your path, either with the matlab path GUI, or with the command <br />
addpath /software/MPI<br />
*Once this is done, more information on how to operate the toolkit can be obtained by typing <br />
help MPI from the matlab command window.<br />
<br />
*The [http://computing.ece.vt.edu/MPI/example2.m following] is an example of how to implement the toolbox in matlab code<br />
<br />
%This part defines how many nodes to try to use<br />
%connects to available machines, and fires a Matlab slave node<br />
addpath /software/MPI<br />
%addpath /software/MPI_VAL32<br />
<br />
%Read the config file set up for the cluster<br />
mconfig = pconfig;<br />
%Use all the machines available<br />
Nparallel = length(mconfig);<br />
%Run this many MATLAB processes per machine. This should be set to 1 to<br />
%make resources available for others.<br />
Nperhost = 1;<br />
<br />
%Fire up matlab on the slaves. It may be worth using the load-checking<br />
%version of psetup('available', Nparallel*Nperhost);<br />
for j=1:Nparallel<br />
psetup(mconfig{j}{1}, Nperhost);<br />
end<br />
<br />
<br />
%A example of a data set to chew on<br />
a = rand(64, 64, 32);<br />
res = zeros(size(a));<br />
<br />
%Run a parallel profiler on the code to be run to see how much speedup there was (optional)<br />
pprofile on -detail builtin<br />
<br />
%The main parallel loop.<br />
%It executes the function 'exampleloop.m'<br />
pfor(1:size(a, 3), 'res(:, :, %d) = exampleloop(a(:, :, %d));');<br />
<br />
%Finish the parallel profile stats collection<br />
s = pprofile('report');<br />
<br />
<br />
%Once the main computation is done, shut-down all the slave Matlab nodes<br />
MPI_Finalize;<br />
<br />
[http://computing.ece.vt.edu/MPI/exampleloop.m Here's] a functional example of an 'exampleloop.m' matlab function<br />
function out = exampleloop(in)<br />
<br />
tempout = in<br />
N=10000;<br />
for i=1:N<br />
tempout = inv(tempout) + rand(size(tempout));<br />
end<br />
out = tempout<br />
<br />
<br />
One important point to note is that a portion of the MPI toolbox library must be compiled for the platform it's being run on. This has already been done for most of the CVL machines being run as 64-bit Linux. If the toolbox is to be used on a 32-bit Linux installation, a the [http://computing.ece.vt.edu/MPI/MPI121_CVL.tar.gz MPI library] will have to be installed into your home directory (or somehwere else you have write permission). It will also have to be added to your matlab path, and<br />
makeMPI<br />
must be issued from the matlab command prompt. The matlab installation must include mex, mcc, gcc, and g++ compiler properly installed.<br />
<br />
<br />
==Help==<br />
<br />
For any additional questions, comments, or concerns contact your system administrator or post a ticket on [https://helpdesk.ece.vt.edu/helpdesk/index.php Help Desk].<br />
<br />
=Additional Links=<br />
<br />
[http://www.mathworks.com/ Mathworks home page]<br />
<br>[http://www.mathworks.com/academia/student_center/tutorials/launchpad.html Matlab Tutorials]<br />
<br>[http://en.wikipedia.org/wiki/MATLAB Additional information about Matlab]<br />
<br>[http://www.gnu.org/software/octave/octave.html Octave] A Free alternative to Matlab</div>Pharsh22https://computing.ece.vt.edu/wiki/Poster_PrintingPoster Printing2015-12-01T23:38:33Z<p>Pharsh22: /* Great! How do I use it? */</p>
<hr />
<div>=ECE Posters=<br />
ECE has a wide format document printer for use within the ECE deparment.<br />
*If you are not related to ECE, you can print a poster using the Library system: https://www.lib.vt.edu/photocopy/how/poster-plotter.html<br />
<br />
The printer is an Epson Stylus Pro 9800 Professional Edition, a 44" wide photo-ready printer.<br />
<br />
We can print:<br />
<br />
* '''Posters, CAD drawings, Banners, Photographs And More!'''<br />
<br />
== Formatting ==<br />
*We have 2 paper sizes: '''36"''' and '''44"'''<br />
*The standard poster size is '''36x48"''', but we can print anything up to '''44"'''<br />
*The only paper type is '''Photo Glossy'''. <br />
*We ask that all posters be sent to us as a '''PDF''' file, which will help ensure print quality and compatibility between your system and the Print Server. <br />
*Posters take about '''20''' minutes to physically print, depending on page size. (36x24: 10min, 36x48: 20 min)<br />
<br />
<br />
<br />
*'''Before you convert/print/send your document:''' <br />
<br />
:'''Note:''' High resolution images will appear more detailed and fine-lined whereas low resolution images will distort if enlarged. For example, if you enlarge an image with low resolution your picture will appear blurred or pixelated. <br />
::1. Verify that your document appears correct and has the correct page size before you send in the document. <br />
::2. View your PDF Poster at '''Actual Size''' zoom level to find out the image's resolution. <br />
:::*Remember to check the resolution of your digital image. Why? When you download an image from the internet the image's resolution may appear detailed, however, when you print the image it appears distorted. <br />
:::*Why? Image resolution. Most images downloaded from the internet commonly have low resolution or small pixel dimensions. The smaller resolution images are easier and faster to download from a website than larger resolution images. <br />
<br />
*'''Here is an excellent article on Image Resolution and Printing:''' http://www.photoshopessentials.com/essentials/image-quality/<br />
*'''Aspect Ratio Calculator:''' http://andrew.hedges.name/experiments/aspect_ratio/<br />
<br />
<br />
*'''How to Get High Resolution VT Logos:'''<br />
<br />
:'''Note:''' Only '''Faculty''' and '''Staff''' can access the VT Logos. In order to gain access talk to your professor for assistance. <br />
::1. Go to the download location https://secure.hosting.vt.edu/www.downloads.branding.unirel.vt.edu/.<br />
::2. Use the '''.EPS''' or '''.Al''' vector graphic files. '''NOT''' the '''.tiff'''.<br />
<br />
<br />
===How to Convert Powerpoint Posters to PDF===<br />
<br />
:*'''Windows: Office 2010/2013:'''<br />
::# Open your Powerpoint file.<br />
::# Click on '''File''' and select '''Save As'''.<br />
::# Go to the '''Save as Type''' and save the file as '''PDF''', i.e. '''.pdf'''.<br />
::# Click '''Save''' to finalize the conversion from Powerpoint to PDF. <br />
<br />
:*'''Windows: Office 2007:'''<br />
<br />
::'''Note:''' Office 2007 cannot be locally saved as a PDF without having installed Adobe Acrobat Pro or Office 2007 add ons.<br />
<br />
::'''Office 2007 PDF:'''<br />
::# Open your Powerpoint file.<br />
::# Click on the '''File''' menu icon at the top-left of the window.<br />
::# Click the '''Save As''' icon.<br />
::# Go to the '''Save as Type''' and save the file as '''PDF''', i.e. '''.pdf'''.<br />
::# Click '''Save''' to finalize the conversion from Powerpoint to PDF.<br />
<br />
:*'''Mac OS X 2011:'''<br />
::# Open your powerpoint file.<br />
::# Click on '''File''' and scroll down to '''Save As'''.<br />
::# Click on the '''Format''' bar and choose '''PDF'''.<br />
<br />
== Great! How do I use it? ==<br />
:*In order to print a poster, please send the '''PDF''' to the ECE Support team: '''support AT ece.vt.edu'''<br />
:*They will setup a time to get the job printed out and help you with formatting to ensure you have a quality project printed.<br />
<br />
==Additional Information==<br />
<br />
[http://www.epson.com/cgi-bin/Store/WideFormat/WideFormatDetail.jsp?BV_UseBVCookie=yes&oid=-12806&category= Information about the Epson 9800]<br />
<br />
==Citations==<br />
#http://www.eng.usf.edu/posters/pdf.html<br />
#https://www.microsoft.com/en-us/download/details.aspx?id=7<br />
#http://www.ece.vt.edu/people/index.html<br />
#http://www.photoshopessentials.com/essentials/image-quality/</div>Pharsh22https://computing.ece.vt.edu/wiki/Using_the_CVLUsing the CVL2015-12-01T22:24:05Z<p>Pharsh22: </p>
<hr />
<div>==CVL Introduction==<br />
*The CVL runs on Linux/Unix servers, primarily CentOS (a Red Hat derivative). As such, familiarity with the Unix command-line is a useful skill.<br />
*You can access the CVL and it's software while working on a project from home or campus. This generally comes in either command-line form or as a graphical application launched via the command-line (referred to as a "shell"). There are many tutorials from which you can familiarize yourself with the basic unix commands that can be performed via the command-line shell. Fortunately, not very many of these command-line utilities are required to access and use the CVL software. <br />
<br />
*The most general commands you use to navigate the file system are:<br />
**'''ls''': listing the files in your home directory<br />
**'''cd''': changing directory<br />
**'''mkdir''': making project directories<br />
**'''mv''': moving files in and out of the directories<br />
<br />
Here are some examples of tutorials:<br />
*'''[http://www.ee.surrey.ac.uk/Teaching/Unix/ UNIX / Linux Tutorial for Beginners]'''<br />
*'''[http://linoxide.com/guide/linux-command-shelf.html Linux Commands in structured order]'''<br />
<br />
==Connecting to the CVL remotely==<br />
*The standard way to connect to the CVL remotely is with the program called "Secure Shell" (SSH), which has wide support on many operating systems. SSH establishes a secure, encrypted connection from the local shell to a command shell on a remote machine, and even allows for file transfers over the same encrypted channel.<br />
<br />
'''Applications on Unix are not restricted to just command-line programs!'''<br />
<br />
*The Unix standard for graphical applications is called "X-windows," or just "X" for short. In fact, the graphics capabilities of this X-windows system are much more flexible than in the Windows or MacOS because they allow for interactions (viewing windows, buttons, pointing, clicking, etc) on a different machine than the one running the application. All that is required is a network connection between the two, and what's referred to as an "X-server" on the local machine that allows the user to physically view the windows and manipulate the mouse. This "client/server" naming convention seems backwards in that the "server" runs on the local computer (e.g. your Windows laptop), and the "client" is the application running on the CVL (e.g. Matlab). Linux clients generally have this X-server installed by default, but Windows users have to install one if graphical access to the CVL is required.<br />
<br />
==Connecting with Windows==<br />
<br />
*In order to access the CVL from a Windows system, you must have a SSH client and a X-windows server installed on your Windows machine. We recommend using '''[[MobaXterm]]''', an all-in-one program that lets you SSH with X11-Fowarding enabled, and lets you copy files to and from your Windows machine to the remote server. <br />
<br />
*Click the link below to see How to Install and use MobaXterm to connect to CVL<br />
==='''[[MobaXterm]]'''===<br />
<br />
==Connecting with Linux/Unix==<br />
<br />
#Open a terminal (shell) and type:<br />
<br />
ssh -X ECEUSERNAME@cvlws[01-06].ece.vt.edu<br />
<br />
#Enter your ECE credentials (see [[Main Page]] to edit or create your account)<br />
<br />
===Moving files to the CVL===<br />
To copy a file from your local computer to your CVL home directory, type the following command:<br />
<br />
scp -r localfile cvl.ece.vt.edu:<br />
<br />
To copy a file from your CVL home directory to your local computer, type the following command:<br />
<br />
scp -r cvl.ece.vt.edu:remotefile ~/</div>Pharsh22https://computing.ece.vt.edu/wiki/MatlabMatlab2015-12-01T22:22:23Z<p>Pharsh22: </p>
<hr />
<div><br />
<br />
[[Image:Matlab.jpg|right]]<br />
=How to use Matlab on CVL=<br />
Make sure you are logged in to any of the 6 CVL Workstations<br />
Type the following command<br />
matlab<br />
=General Information about Matlab=<br />
MatLab is a program developed by MathWorks Incorporated. This program provides a high-level language and interactive environment that enables<br />
you to perform computationally intensive tasks faster than with traditional programming languages such as C, C++, and Fortran.<br />
<br />
'''The "Toolboxes" that the Virginia Tech license offers are:'''<br />
*Simulink<br />
*Aerospace Blockset<br />
*Aerospace Toolbox<br />
*Bioinformatics Toolbox<br />
*Communications System Toolbox<br />
*Computer Vision System Toolbox<br />
*Control System Toolbox<br />
*Curve Fitting Toolbox<br />
*DSP System Toolbox<br />
*Data Acquisition Toolbox<br />
*Database Toolbox<br />
*Embedded Coder<br />
*Fixed-Point Toolbox<br />
*Fuzzy Logic Toolbox<br />
*Global Optimization Toolbox<br />
*HDL Coder<br />
*Image Acquisition Toolbox<br />
*Image Processing Toolbox<br />
*Instrument Control Toolbox<br />
*LMI Control Toolbox (Transitioned) <br />
*MATLAB Builder NE<br />
*MATLAB Coder<br />
*MATLAB Compiler<br />
*MATLAB® C/C++ Math Library (Transitioned) <br />
*Mapping Toolbox<br />
*Mu-Analysis and Synthesis Toolbox (Transitioned) <br />
*Neural Network Toolbox<br />
*Optimization Toolbox<br />
*Parallel Computing Toolbox<br />
*Partial Differential Equation Toolbox<br />
*Robust Control Toolbox<br />
*Signal Processing Toolbox<br />
*SimBiology<br />
*SimElectronics<br />
*SimEvents<br />
*SimMechanics<br />
*SimPowerSystems<br />
*Simscape<br />
*Simulink 3D Animation<br />
*Simulink Coder<br />
*Simulink Control Design<br />
*Simulink Fixed Point<br />
*Spline Toolbox (Transitioned) <br />
*Spreadsheet Link EX<br />
*Stateflow<br />
*Stateflow Coder (Transitioned) <br />
*Statistics Toolbox<br />
*Symbolic Math Toolbox<br />
*System Identification Toolbox<br />
*Wavelet Toolbox<br />
*xPC Target<br />
<br />
<br />
'''Toolboxes that have been integrated with other Toolboxes:'''<br />
<br />
<br>The Robust Control Toolbox has merged with the following toolboxes<br />
* Mu-Analysis and Synthesis <br />
* LMI Control<br />
<br />
=Installing Matlab=<br />
<br />
Email support@ece.vt.edu for installation directions.<br />
<br />
==Installing Matlab on Linux/UNIX==<br />
<br />
*This Section is under construction.<br />
<br />
==Installing Matlab on MAC OSX==<br />
<br />
==Using the MPI parallel toolbox==<br />
The CVL lab has installed a toolbox that simplifies parallelizing matlab code. This is the location of the [http://einar.heiberg.se/mpi/index.html Matlab Parallelization Toolkit]. It utilizes a Master/Slave arrangement to automatically login to multiple machines and have them individually run parts of a matlab script. The majority of the setup and configuration has been done on all of the CVL machines, but it is not in your matlab path by default. <br />
<br />
*In order to access the MPI toolbox, you must manually add the directory '/software/MPI' to your path, either with the matlab path GUI, or with the command <br />
addpath /software/MPI<br />
*Once this is done, more information on how to operate the toolkit can be obtained by typing <br />
help MPI from the matlab command window.<br />
<br />
*The [http://computing.ece.vt.edu/MPI/example2.m following] is an example of how to implement the toolbox in matlab code<br />
<br />
%This part defines how many nodes to try to use<br />
%connects to available machines, and fires a Matlab slave node<br />
addpath /software/MPI<br />
%addpath /software/MPI_VAL32<br />
<br />
%Read the config file set up for the cluster<br />
mconfig = pconfig;<br />
%Use all the machines available<br />
Nparallel = length(mconfig);<br />
%Run this many MATLAB processes per machine. This should be set to 1 to<br />
%make resources available for others.<br />
Nperhost = 1;<br />
<br />
%Fire up matlab on the slaves. It may be worth using the load-checking<br />
%version of psetup('available', Nparallel*Nperhost);<br />
for j=1:Nparallel<br />
psetup(mconfig{j}{1}, Nperhost);<br />
end<br />
<br />
<br />
%A example of a data set to chew on<br />
a = rand(64, 64, 32);<br />
res = zeros(size(a));<br />
<br />
%Run a parallel profiler on the code to be run to see how much speedup there was (optional)<br />
pprofile on -detail builtin<br />
<br />
%The main parallel loop.<br />
%It executes the function 'exampleloop.m'<br />
pfor(1:size(a, 3), 'res(:, :, %d) = exampleloop(a(:, :, %d));');<br />
<br />
%Finish the parallel profile stats collection<br />
s = pprofile('report');<br />
<br />
<br />
%Once the main computation is done, shut-down all the slave Matlab nodes<br />
MPI_Finalize;<br />
<br />
[http://computing.ece.vt.edu/MPI/exampleloop.m Here's] a functional example of an 'exampleloop.m' matlab function<br />
function out = exampleloop(in)<br />
<br />
tempout = in<br />
N=10000;<br />
for i=1:N<br />
tempout = inv(tempout) + rand(size(tempout));<br />
end<br />
out = tempout<br />
<br />
<br />
One important point to note is that a portion of the MPI toolbox library must be compiled for the platform it's being run on. This has already been done for most of the CVL machines being run as 64-bit Linux. If the toolbox is to be used on a 32-bit Linux installation, a the [http://computing.ece.vt.edu/MPI/MPI121_CVL.tar.gz MPI library] will have to be installed into your home directory (or somehwere else you have write permission). It will also have to be added to your matlab path, and<br />
makeMPI<br />
must be issued from the matlab command prompt. The matlab installation must include mex, mcc, gcc, and g++ compiler properly installed.<br />
<br />
<br />
==Help==<br />
<br />
For any additional questions, comments, or concerns contact your system administrator or post a ticket on [https://helpdesk.ece.vt.edu/helpdesk/index.php Help Desk].<br />
<br />
=Additional Links=<br />
<br />
[http://www.mathworks.com/ Mathworks home page]<br />
<br>[http://www.mathworks.com/academia/student_center/tutorials/launchpad.html Matlab Tutorials]<br />
<br>[http://en.wikipedia.org/wiki/MATLAB Additional information about Matlab]<br />
<br>[http://www.gnu.org/software/octave/octave.html Octave] A Free alternative to Matlab</div>Pharsh22https://computing.ece.vt.edu/wiki/MatlabMatlab2015-12-01T22:17:41Z<p>Pharsh22: </p>
<hr />
<div><br />
<br />
[[Image:Matlab.jpg|right]]<br />
==How to use Matlab on CVL==<br />
=General Information about Matlab=<br />
MatLab is a program developed by MathWorks Incorporated. This program provides a high-level language and interactive environment that enables<br />
you to perform computationally intensive tasks faster than with traditional programming languages such as C, C++, and Fortran.<br />
<br />
'''The "Toolboxes" that the Virginia Tech license offers are:'''<br />
*Simulink<br />
*Aerospace Blockset<br />
*Aerospace Toolbox<br />
*Bioinformatics Toolbox<br />
*Communications System Toolbox<br />
*Computer Vision System Toolbox<br />
*Control System Toolbox<br />
*Curve Fitting Toolbox<br />
*DSP System Toolbox<br />
*Data Acquisition Toolbox<br />
*Database Toolbox<br />
*Embedded Coder<br />
*Fixed-Point Toolbox<br />
*Fuzzy Logic Toolbox<br />
*Global Optimization Toolbox<br />
*HDL Coder<br />
*Image Acquisition Toolbox<br />
*Image Processing Toolbox<br />
*Instrument Control Toolbox<br />
*LMI Control Toolbox (Transitioned) <br />
*MATLAB Builder NE<br />
*MATLAB Coder<br />
*MATLAB Compiler<br />
*MATLAB® C/C++ Math Library (Transitioned) <br />
*Mapping Toolbox<br />
*Mu-Analysis and Synthesis Toolbox (Transitioned) <br />
*Neural Network Toolbox<br />
*Optimization Toolbox<br />
*Parallel Computing Toolbox<br />
*Partial Differential Equation Toolbox<br />
*Robust Control Toolbox<br />
*Signal Processing Toolbox<br />
*SimBiology<br />
*SimElectronics<br />
*SimEvents<br />
*SimMechanics<br />
*SimPowerSystems<br />
*Simscape<br />
*Simulink 3D Animation<br />
*Simulink Coder<br />
*Simulink Control Design<br />
*Simulink Fixed Point<br />
*Spline Toolbox (Transitioned) <br />
*Spreadsheet Link EX<br />
*Stateflow<br />
*Stateflow Coder (Transitioned) <br />
*Statistics Toolbox<br />
*Symbolic Math Toolbox<br />
*System Identification Toolbox<br />
*Wavelet Toolbox<br />
*xPC Target<br />
<br />
<br />
'''Toolboxes that have been integrated with other Toolboxes:'''<br />
<br />
<br>The Robust Control Toolbox has merged with the following toolboxes<br />
* Mu-Analysis and Synthesis <br />
* LMI Control<br />
<br />
=Installing Matlab=<br />
<br />
Email support@ece.vt.edu for installation directions.<br />
<br />
==Installing Matlab on Linux/UNIX==<br />
<br />
*This Section is under construction.<br />
<br />
==Installing Matlab on MAC OSX==<br />
<br />
==Using the MPI parallel toolbox==<br />
The CVL lab has installed a toolbox that simplifies parallelizing matlab code. This is the location of the [http://einar.heiberg.se/mpi/index.html Matlab Parallelization Toolkit]. It utilizes a Master/Slave arrangement to automatically login to multiple machines and have them individually run parts of a matlab script. The majority of the setup and configuration has been done on all of the CVL machines, but it is not in your matlab path by default. <br />
<br />
*In order to access the MPI toolbox, you must manually add the directory '/software/MPI' to your path, either with the matlab path GUI, or with the command <br />
addpath /software/MPI<br />
*Once this is done, more information on how to operate the toolkit can be obtained by typing <br />
help MPI from the matlab command window.<br />
<br />
*The [http://computing.ece.vt.edu/MPI/example2.m following] is an example of how to implement the toolbox in matlab code<br />
<br />
%This part defines how many nodes to try to use<br />
%connects to available machines, and fires a Matlab slave node<br />
addpath /software/MPI<br />
%addpath /software/MPI_VAL32<br />
<br />
%Read the config file set up for the cluster<br />
mconfig = pconfig;<br />
%Use all the machines available<br />
Nparallel = length(mconfig);<br />
%Run this many MATLAB processes per machine. This should be set to 1 to<br />
%make resources available for others.<br />
Nperhost = 1;<br />
<br />
%Fire up matlab on the slaves. It may be worth using the load-checking<br />
%version of psetup('available', Nparallel*Nperhost);<br />
for j=1:Nparallel<br />
psetup(mconfig{j}{1}, Nperhost);<br />
end<br />
<br />
<br />
%A example of a data set to chew on<br />
a = rand(64, 64, 32);<br />
res = zeros(size(a));<br />
<br />
%Run a parallel profiler on the code to be run to see how much speedup there was (optional)<br />
pprofile on -detail builtin<br />
<br />
%The main parallel loop.<br />
%It executes the function 'exampleloop.m'<br />
pfor(1:size(a, 3), 'res(:, :, %d) = exampleloop(a(:, :, %d));');<br />
<br />
%Finish the parallel profile stats collection<br />
s = pprofile('report');<br />
<br />
<br />
%Once the main computation is done, shut-down all the slave Matlab nodes<br />
MPI_Finalize;<br />
<br />
[http://computing.ece.vt.edu/MPI/exampleloop.m Here's] a functional example of an 'exampleloop.m' matlab function<br />
function out = exampleloop(in)<br />
<br />
tempout = in<br />
N=10000;<br />
for i=1:N<br />
tempout = inv(tempout) + rand(size(tempout));<br />
end<br />
out = tempout<br />
<br />
<br />
One important point to note is that a portion of the MPI toolbox library must be compiled for the platform it's being run on. This has already been done for most of the CVL machines being run as 64-bit Linux. If the toolbox is to be used on a 32-bit Linux installation, a the [http://computing.ece.vt.edu/MPI/MPI121_CVL.tar.gz MPI library] will have to be installed into your home directory (or somehwere else you have write permission). It will also have to be added to your matlab path, and<br />
makeMPI<br />
must be issued from the matlab command prompt. The matlab installation must include mex, mcc, gcc, and g++ compiler properly installed.<br />
<br />
<br />
==Help==<br />
<br />
For any additional questions, comments, or concerns contact your system administrator or post a ticket on [https://helpdesk.ece.vt.edu/helpdesk/index.php Help Desk].<br />
<br />
=Additional Links=<br />
<br />
[http://www.mathworks.com/ Mathworks home page]<br />
<br>[http://www.mathworks.com/academia/student_center/tutorials/launchpad.html Matlab Tutorials]<br />
<br>[http://en.wikipedia.org/wiki/MATLAB Additional information about Matlab]<br />
<br>[http://www.gnu.org/software/octave/octave.html Octave] A Free alternative to Matlab</div>Pharsh22https://computing.ece.vt.edu/wiki/How_to_use_Software_on_CVLHow to use Software on CVL2015-12-01T22:17:08Z<p>Pharsh22: </p>
<hr />
<div>Softwares that run on CVl Workstations<br />
<br />
<br>[[ADS]]<br />
<br>[[CScope]]<br />
<br>[[LayoutEditor]]<br />
<br>[[Matlab]]<br />
<br>[[ModelSim]]<br />
<br>[[ParaView]]<br />
<br>[[Quartus]]<br />
<br>[[RFDE]]<br />
<br>[[Saber]]<br />
<br>[[Sonnet]]</div>Pharsh22https://computing.ece.vt.edu/wiki/How_to_use_Software_on_CVLHow to use Software on CVL2015-11-24T20:42:04Z<p>Pharsh22: </p>
<hr />
<div>Softwares that run on CVl Workstations<br />
<br />
<br>[[ADS]]<br />
<br>[[CScope]]<br />
<br>[[LayoutEditor]]<br />
<br>[[ModelSim]]<br />
<br>[[ParaView]]<br />
<br>[[Quartus]]<br />
<br>[[RFDE]]<br />
<br>[[Saber]]<br />
<br>[[Sonnet]]</div>Pharsh22https://computing.ece.vt.edu/wiki/SonnetSonnet2015-11-24T20:39:09Z<p>Pharsh22: </p>
<hr />
<div>== Use Sonnet on CVL ==<br />
*To use Sonnet you will need to log in to either CVL Workstation or Beast Cluster. Sonnet doesn't work on CVL server.<br />
<br />
Type the following command<br />
Sonnet<br />
<br><br />
[http://www.sonnetsoftware.com/support/sonnet-suites/getting-started.html Learn Sonnet]</div>Pharsh22https://computing.ece.vt.edu/wiki/SonnetSonnet2015-11-24T20:39:00Z<p>Pharsh22: </p>
<hr />
<div>== Use Sonnet on CVL ==<br />
*To use Sonnet you will need to log in to either CVL Workstation or Beast Cluster. Sonnet doesn't work on CVL server.<br />
<br />
Type the following command<br />
Sonnet<br />
<br />
[http://www.sonnetsoftware.com/support/sonnet-suites/getting-started.html Learn Sonnet]</div>Pharsh22https://computing.ece.vt.edu/wiki/SonnetSonnet2015-11-24T20:38:10Z<p>Pharsh22: Created page with "== Use Sonnet on CVL == *To use Sonnet you will need to log in to either CVL Workstation or Beast Cluster. Sonnet doesn't work on CVL server. Type the following command So..."</p>
<hr />
<div>== Use Sonnet on CVL ==<br />
*To use Sonnet you will need to log in to either CVL Workstation or Beast Cluster. Sonnet doesn't work on CVL server.<br />
<br />
Type the following command<br />
Sonnet</div>Pharsh22https://computing.ece.vt.edu/wiki/Software_Packages_and_ProgramsSoftware Packages and Programs2015-11-24T20:35:29Z<p>Pharsh22: </p>
<hr />
<div>Each of these links offers general information, including setup and information, on a specific program. <br />
<br />
<br>[[Linux Supported Software]]<br />
<br>[[Mac Supported Software]]<br />
<br>[[Windows Supported Software]]<br />
<br />
<br>[[ADS]]<br />
<br>[[Cadence]]<br />
<br>[[Cadence Tools and Packages]]<br />
<br>[[Cadence Demo (OrCAD)]]<br />
<br>[[Cadence Virtuoso]] (A program similar to OrCAD PSpice)<br />
<br>[[Coventor]]<br />
<br>[[CScope]]<br />
<br>[[EM Pro]]<br />
<br>[[Freeware Layout Editor]]<br />
<br>[[LayoutEditor]]<br />
<br>[[Mathematica]]<br />
<br>[[Matlab]]<br />
<br>[[Mentor Graphics]]<br />
<br>[[ModelSim]]<br />
<br>[[OPNET]]<br />
<br>[[Velleman Scopes]]<br />
<br>[[ParaView]]<br />
<br>[[PSIM]]<br />
<br>[[PSpice FAQ]]<br />
<br>[[Quartus]]<br />
<br>[[RFDE]] (RF Design Environment)<br />
<br>[[Saber]]<br />
<br>[[Simics/Virtutech]]<br />
<br>[[SPB OrCAD]]<br />
<br>[[Sonnet]]<br />
<br>[[Synopsys]]<br />
<br>[[Synopsys Tools: What they do]]<br />
<br>[[Synopsys Tutorial: Power Estimation]]<br />
<br>[[Synopsys Design Vision]]<br />
<br>[[University Vienna Software]] (PROMIS, MINIMOS NT, & MINIMOS 6.1)<br />
<br>[[Quartus]]<br />
<br>[[XILINX]]<br />
<br>[[Zombie]]<br />
<br />
----<br />
<br>Return to [[Main Page]]</div>Pharsh22https://computing.ece.vt.edu/wiki/SaberSaber2015-11-24T20:31:52Z<p>Pharsh22: Created page with "== Use Saber on CVL == *CVL, CVL Workstation or Beast Cluster can be used to launch Saber as GUI application Type the following command Saber"</p>
<hr />
<div>== Use Saber on CVL ==<br />
*CVL, CVL Workstation or Beast Cluster can be used to launch Saber as GUI application<br />
<br />
Type the following command<br />
Saber</div>Pharsh22https://computing.ece.vt.edu/wiki/Software_Packages_and_ProgramsSoftware Packages and Programs2015-11-24T20:29:36Z<p>Pharsh22: </p>
<hr />
<div>Each of these links offers general information, including setup and information, on a specific program. <br />
<br />
<br>[[Linux Supported Software]]<br />
<br>[[Mac Supported Software]]<br />
<br>[[Windows Supported Software]]<br />
<br />
<br>[[ADS]]<br />
<br>[[Cadence]]<br />
<br>[[Cadence Tools and Packages]]<br />
<br>[[Cadence Demo (OrCAD)]]<br />
<br>[[Cadence Virtuoso]] (A program similar to OrCAD PSpice)<br />
<br>[[Coventor]]<br />
<br>[[CScope]]<br />
<br>[[EM Pro]]<br />
<br>[[Freeware Layout Editor]]<br />
<br>[[LayoutEditor]]<br />
<br>[[Mathematica]]<br />
<br>[[Matlab]]<br />
<br>[[Mentor Graphics]]<br />
<br>[[ModelSim]]<br />
<br>[[OPNET]]<br />
<br>[[Velleman Scopes]]<br />
<br>[[ParaView]]<br />
<br>[[PSIM]]<br />
<br>[[PSpice FAQ]]<br />
<br>[[Quartus]]<br />
<br>[[RFDE]] (RF Design Environment)<br />
<br>[[Saber]]<br />
<br>[[Simics/Virtutech]]<br />
<br>[[SPB OrCAD]]<br />
<br>[[Synopsys]]<br />
<br>[[Synopsys Tools: What they do]]<br />
<br>[[Synopsys Tutorial: Power Estimation]]<br />
<br>[[Synopsys Design Vision]]<br />
<br>[[University Vienna Software]] (PROMIS, MINIMOS NT, & MINIMOS 6.1)<br />
<br>[[Quartus]]<br />
<br>[[XILINX]]<br />
<br>[[Zombie]]<br />
<br />
----<br />
<br>Return to [[Main Page]]</div>Pharsh22https://computing.ece.vt.edu/wiki/LayoutEditorLayoutEditor2015-11-24T20:27:32Z<p>Pharsh22: Created page with "== Use LayoutEditor on CVL == *It can be accessed from CVL, CVL Workstation or Beast clusters Type the following command layout-mems [http://www.layouteditor.net/ Learn L..."</p>
<hr />
<div>== Use LayoutEditor on CVL ==<br />
*It can be accessed from CVL, CVL Workstation or Beast clusters<br />
<br />
Type the following command<br />
layout-mems<br />
<br />
[http://www.layouteditor.net/ Learn LayoutEditor]</div>Pharsh22https://computing.ece.vt.edu/wiki/Software_Packages_and_ProgramsSoftware Packages and Programs2015-11-24T20:22:17Z<p>Pharsh22: </p>
<hr />
<div>Each of these links offers general information, including setup and information, on a specific program. <br />
<br />
<br>[[Linux Supported Software]]<br />
<br>[[Mac Supported Software]]<br />
<br>[[Windows Supported Software]]<br />
<br />
<br>[[ADS]]<br />
<br>[[Cadence]]<br />
<br>[[Cadence Tools and Packages]]<br />
<br>[[Cadence Demo (OrCAD)]]<br />
<br>[[Cadence Virtuoso]] (A program similar to OrCAD PSpice)<br />
<br>[[Coventor]]<br />
<br>[[CScope]]<br />
<br>[[EM Pro]]<br />
<br>[[Freeware Layout Editor]]<br />
<br>[[LayoutEditor]]<br />
<br>[[Mathematica]]<br />
<br>[[Matlab]]<br />
<br>[[Mentor Graphics]]<br />
<br>[[ModelSim]]<br />
<br>[[OPNET]]<br />
<br>[[Velleman Scopes]]<br />
<br>[[ParaView]]<br />
<br>[[PSIM]]<br />
<br>[[PSpice FAQ]]<br />
<br>[[Quartus]]<br />
<br>[[RFDE]] (RF Design Environment)<br />
<br>[[Simics/Virtutech]]<br />
<br>[[SPB OrCAD]]<br />
<br>[[Synopsys]]<br />
<br>[[Synopsys Tools: What they do]]<br />
<br>[[Synopsys Tutorial: Power Estimation]]<br />
<br>[[Synopsys Design Vision]]<br />
<br>[[University Vienna Software]] (PROMIS, MINIMOS NT, & MINIMOS 6.1)<br />
<br>[[Quartus]]<br />
<br>[[XILINX]]<br />
<br>[[Zombie]]<br />
<br />
----<br />
<br>Return to [[Main Page]]</div>Pharsh22https://computing.ece.vt.edu/wiki/RFDERFDE2015-11-24T20:20:55Z<p>Pharsh22: </p>
<hr />
<div>==Use RF Design Environment on CVL==<br />
----<br />
RFDE can be launched by logging in to CVL, CVL Workstation or Beast Cluster<br />
<br />
<br>Type the following command<br />
rfde<br />
<br />
[http://www.keysight.com/en/pc-1430730/rf-design-environment-rfde?cc=US&lc=eng Learn RFDE]</div>Pharsh22https://computing.ece.vt.edu/wiki/RFDERFDE2015-11-24T20:20:24Z<p>Pharsh22: Created page with "==Use RF Design Environment on CVL== ---- RFDE can be launched by logging in to CVL, CVL Workstation or Beast Cluster <br>Type the following command rfde"</p>
<hr />
<div>==Use RF Design Environment on CVL==<br />
----<br />
RFDE can be launched by logging in to CVL, CVL Workstation or Beast Cluster<br />
<br />
<br>Type the following command<br />
rfde</div>Pharsh22https://computing.ece.vt.edu/wiki/Software_Packages_and_ProgramsSoftware Packages and Programs2015-11-24T20:15:10Z<p>Pharsh22: </p>
<hr />
<div>Each of these links offers general information, including setup and information, on a specific program. <br />
<br />
<br>[[Linux Supported Software]]<br />
<br>[[Mac Supported Software]]<br />
<br>[[Windows Supported Software]]<br />
<br />
<br>[[ADS]]<br />
<br>[[Cadence]]<br />
<br>[[Cadence Tools and Packages]]<br />
<br>[[Cadence Demo (OrCAD)]]<br />
<br>[[Cadence Virtuoso]] (A program similar to OrCAD PSpice)<br />
<br>[[Coventor]]<br />
<br>[[CScope]]<br />
<br>[[EM Pro]]<br />
<br>[[Freeware Layout Editor]]<br />
<br>[[Mathematica]]<br />
<br>[[Matlab]]<br />
<br>[[Mentor Graphics]]<br />
<br>[[ModelSim]]<br />
<br>[[OPNET]]<br />
<br>[[Velleman Scopes]]<br />
<br>[[ParaView]]<br />
<br>[[PSIM]]<br />
<br>[[PSpice FAQ]]<br />
<br>[[Quartus]]<br />
<br>[[RFDE]] (RF Design Environment)<br />
<br>[[Simics/Virtutech]]<br />
<br>[[SPB OrCAD]]<br />
<br>[[Synopsys]]<br />
<br>[[Synopsys Tools: What they do]]<br />
<br>[[Synopsys Tutorial: Power Estimation]]<br />
<br>[[Synopsys Design Vision]]<br />
<br>[[University Vienna Software]] (PROMIS, MINIMOS NT, & MINIMOS 6.1)<br />
<br>[[Quartus]]<br />
<br>[[XILINX]]<br />
<br>[[Zombie]]<br />
<br />
----<br />
<br>Return to [[Main Page]]</div>Pharsh22https://computing.ece.vt.edu/wiki/QuartusQuartus2015-11-24T20:13:26Z<p>Pharsh22: </p>
<hr />
<div>Altera's Quartus II software is an FPGA development package for the Altera line of FPGAs.<br />
<br />
http://en.wikipedia.org/wiki/Altera<br />
<br />
== Use Quartus on CVL ==<br />
*Quartus can be accessed by using CVL, CVL Workstation or Beast Cluster<br />
Type the following command<br />
Quartus<br />
<br />
<br />
The following information is about how to get Quartus to work on Linux.<br />
<br />
== USBBlaster ==<br />
<br />
After installation it is somewhat difficult to get the "USBBlaster" software to work. The USBBlaster is the software that downloads the FPGA netlist image to the development board.<br />
<br />
To get the USB hotplug system to work you need to add a "udev" rule. http://en.wikipedia.org/wiki/Udev For older versions of linux the Altera web site documents them, see: http://www.altera.com/download/drivers/dri-usb_b-lnx.html . For newer versions of linux, one (only one) of the following seems to work<br />
<br />
File: /etc/udev/rules.d/51-usbblaster.rules<br />
<br />
# USB-Blaster<br />
SUBSYSTEM=="usb", SYSFS{idVendor}=="09fb", SYSFS{idProduct}=="6001", MODE="0666", SYMLINK+="usbblaster"<br />
SUBSYSTEM=="usb", SYSFS{idVendor}=="09fb", SYSFS{idProduct}=="6002", MODE="0666", SYMLINK+="usbblaster"<br />
SUBSYSTEM=="usb", SYSFS{idVendor}=="09fb", SYSFS{idProduct}=="6003", MODE="0666", SYMLINK+="usbblaster"<br />
<br />
# USB-Blaster<br />
BUS=="usb", SYSFS{idVendor}=="09fb", SYSFS{idProduct}=="6001", MODE="0666"<br />
BUS=="usb", SYSFS{idVendor}=="09fb", SYSFS{idProduct}=="6002", MODE="0666"<br />
BUS=="usb", SYSFS{idVendor}=="09fb", SYSFS{idProduct}=="6003", MODE="0666"<br />
<br />
# USB-Blaster<br />
ACTION!="add", SUBSYSTEM!=="usb_device", GOTO="qcontrol_rules_end"<br />
ATTRS{idProduct}=="6001", ATTRS{idVendor}=="09fb", MODE="666", SYMLINK+="usbblaster"<br />
ATTRS{idProduct}=="6002", ATTRS{idVendor}=="09fb", MODE="666", SYMLINK+="usbblaster"<br />
ATTRS{idProduct}=="6003", ATTRS{idVendor}=="09fb", MODE="666", SYMLINK+="usbblaster"<br />
LABEL="qcontrol_rules_end"<br />
<br />
Now restart the udev system. On different systems, its done in different ways.<br />
<br />
sudo service udev restart<br />
<br />
or perhaps:<br />
<br />
sudo service systemd-udevd restart<br />
<br />
or if all else fails, just use the windows final solution, reboot.<br />
<br />
You should check your log files for udev errors. Look in /var/log/messages or /var/log/syslog depending on your linux distrobution (redhat/debian/ubuntu).<br />
<br />
Now to verify things are working, we follow this: http://www.alterawiki.com/wiki/USB-Blaster_under_Fedora_18<br />
<br />
cd <alter_installation>/<install_version>/quartus/bin<br />
./jtagd<br />
./jtagconfig<br />
<br />
You should see something like<br />
<br />
user@localhost:~/altera/13.0sp1/quartus/bin$ ./jtagconfig <br />
1) USB-Blaster [5-1]<br />
020B60DD EP2C70<br />
<br />
== 64 Bit Installations ==<br />
<br />
If you install Quartus on a 64 bit machine you can install the 32 bit libraries that it needs, or just run it as 64 bit. To run it as 64 bit just add "--64bit" to the end of the command line. For example, the "jtagconfig" above might complain about missing ld-linux.so or some such thingy. If so, just try <br />
<br />
./jtagconfig --64bit<br />
<br />
== Running Quartus ==<br />
<br />
To run Quartus<br />
<br />
cd <alter_installation>/<install_version>/quartus/bin<br />
./quartus<br />
<br />
or for 64 bit installs:<br />
<br />
cd <alter_installation>/<install_version>/quartus/bin<br />
./quartus --64bit<br />
<br />
To make things easier, I create a script file in /usr/local/bin like this:<br />
<br />
/usr/local/bin/Quartus<br />
#!/bin/bash<br />
<br />
export PATH=${PATH}:/home/jkh/altera/CURRENT/quartus/bin<br />
quartus --64bit &<br />
<br />
I use a capital Q for the script file so that it does not get confused with the lower case q of the actual program name! Thus to start Quartus type <br />
<br />
Quartus<br />
<br />
with a capital Q.</div>Pharsh22https://computing.ece.vt.edu/wiki/QuartusQuartus2015-11-24T20:09:00Z<p>Pharsh22: </p>
<hr />
<div>Altera's Quartus II software is an FPGA development package for the Altera line of FPGAs.<br />
<br />
http://en.wikipedia.org/wiki/Altera<br />
<br />
This documentation is how to get Quartus to work on Linux.<br />
<br />
== USBBlaster ==<br />
<br />
After installation it is somewhat difficult to get the "USBBlaster" software to work. The USBBlaster is the software that downloads the FPGA netlist image to the development board.<br />
<br />
To get the USB hotplug system to work you need to add a "udev" rule. http://en.wikipedia.org/wiki/Udev For older versions of linux the Altera web site documents them, see: http://www.altera.com/download/drivers/dri-usb_b-lnx.html . For newer versions of linux, one (only one) of the following seems to work<br />
<br />
File: /etc/udev/rules.d/51-usbblaster.rules<br />
<br />
# USB-Blaster<br />
SUBSYSTEM=="usb", SYSFS{idVendor}=="09fb", SYSFS{idProduct}=="6001", MODE="0666", SYMLINK+="usbblaster"<br />
SUBSYSTEM=="usb", SYSFS{idVendor}=="09fb", SYSFS{idProduct}=="6002", MODE="0666", SYMLINK+="usbblaster"<br />
SUBSYSTEM=="usb", SYSFS{idVendor}=="09fb", SYSFS{idProduct}=="6003", MODE="0666", SYMLINK+="usbblaster"<br />
<br />
# USB-Blaster<br />
BUS=="usb", SYSFS{idVendor}=="09fb", SYSFS{idProduct}=="6001", MODE="0666"<br />
BUS=="usb", SYSFS{idVendor}=="09fb", SYSFS{idProduct}=="6002", MODE="0666"<br />
BUS=="usb", SYSFS{idVendor}=="09fb", SYSFS{idProduct}=="6003", MODE="0666"<br />
<br />
# USB-Blaster<br />
ACTION!="add", SUBSYSTEM!=="usb_device", GOTO="qcontrol_rules_end"<br />
ATTRS{idProduct}=="6001", ATTRS{idVendor}=="09fb", MODE="666", SYMLINK+="usbblaster"<br />
ATTRS{idProduct}=="6002", ATTRS{idVendor}=="09fb", MODE="666", SYMLINK+="usbblaster"<br />
ATTRS{idProduct}=="6003", ATTRS{idVendor}=="09fb", MODE="666", SYMLINK+="usbblaster"<br />
LABEL="qcontrol_rules_end"<br />
<br />
Now restart the udev system. On different systems, its done in different ways.<br />
<br />
sudo service udev restart<br />
<br />
or perhaps:<br />
<br />
sudo service systemd-udevd restart<br />
<br />
or if all else fails, just use the windows final solution, reboot.<br />
<br />
You should check your log files for udev errors. Look in /var/log/messages or /var/log/syslog depending on your linux distrobution (redhat/debian/ubuntu).<br />
<br />
Now to verify things are working, we follow this: http://www.alterawiki.com/wiki/USB-Blaster_under_Fedora_18<br />
<br />
cd <alter_installation>/<install_version>/quartus/bin<br />
./jtagd<br />
./jtagconfig<br />
<br />
You should see something like<br />
<br />
user@localhost:~/altera/13.0sp1/quartus/bin$ ./jtagconfig <br />
1) USB-Blaster [5-1]<br />
020B60DD EP2C70<br />
<br />
== 64 Bit Installations ==<br />
<br />
If you install Quartus on a 64 bit machine you can install the 32 bit libraries that it needs, or just run it as 64 bit. To run it as 64 bit just add "--64bit" to the end of the command line. For example, the "jtagconfig" above might complain about missing ld-linux.so or some such thingy. If so, just try <br />
<br />
./jtagconfig --64bit<br />
<br />
== Running Quartus ==<br />
<br />
To run Quartus<br />
<br />
cd <alter_installation>/<install_version>/quartus/bin<br />
./quartus<br />
<br />
or for 64 bit installs:<br />
<br />
cd <alter_installation>/<install_version>/quartus/bin<br />
./quartus --64bit<br />
<br />
To make things easier, I create a script file in /usr/local/bin like this:<br />
<br />
/usr/local/bin/Quartus<br />
#!/bin/bash<br />
<br />
export PATH=${PATH}:/home/jkh/altera/CURRENT/quartus/bin<br />
quartus --64bit &<br />
<br />
I use a capital Q for the script file so that it does not get confused with the lower case q of the actual program name! Thus to start Quartus type <br />
<br />
Quartus<br />
<br />
with a capital Q.</div>Pharsh22https://computing.ece.vt.edu/wiki/Software_Packages_and_ProgramsSoftware Packages and Programs2015-11-24T20:00:48Z<p>Pharsh22: </p>
<hr />
<div>Each of these links offers general information, including setup and information, on a specific program. <br />
<br />
<br>[[Linux Supported Software]]<br />
<br>[[Mac Supported Software]]<br />
<br>[[Windows Supported Software]]<br />
<br />
<br>[[ADS]]<br />
<br>[[Cadence]]<br />
<br>[[Cadence Tools and Packages]]<br />
<br>[[Cadence Demo (OrCAD)]]<br />
<br>[[Cadence Virtuoso]] (A program similar to OrCAD PSpice)<br />
<br>[[Coventor]]<br />
<br>[[CScope]]<br />
<br>[[EM Pro]]<br />
<br>[[Freeware Layout Editor]]<br />
<br>[[Mathematica]]<br />
<br>[[Matlab]]<br />
<br>[[Mentor Graphics]]<br />
<br>[[ModelSim]]<br />
<br>[[OPNET]]<br />
<br>[[Velleman Scopes]]<br />
<br>[[ParaView]]<br />
<br>[[PSIM]]<br />
<br>[[PSpice FAQ]]<br />
<br>[[Quartus]]<br />
<br>[[Simics/Virtutech]]<br />
<br>[[SPB OrCAD]]<br />
<br>[[Synopsys]]<br />
<br>[[Synopsys Tools: What they do]]<br />
<br>[[Synopsys Tutorial: Power Estimation]]<br />
<br>[[Synopsys Design Vision]]<br />
<br>[[University Vienna Software]] (PROMIS, MINIMOS NT, & MINIMOS 6.1)<br />
<br>[[Quartus]]<br />
<br>[[XILINX]]<br />
<br>[[Zombie]]<br />
<br />
----<br />
<br>Return to [[Main Page]]</div>Pharsh22https://computing.ece.vt.edu/wiki/OPNETOPNET2015-11-24T19:57:58Z<p>Pharsh22: </p>
<hr />
<div>OpNet is a computer and communications network simulation package.<br />
<br />
==Use OpNet on CVL==<br />
*Use CVL, CVL Workstation or Beast cluster to access OpNet on remote server.<br />
Type the following command<br />
opnet<br />
<br />
==Installing OpNet on Microsoft's Windows==<br />
<br />
OpNet can be installed on Windows provided that:<br />
<br />
# The machine is university owned.<br />
# The machine is on university property.<br />
# No commercial work is allowed with this package.<br />
<br />
===Installation===<br />
<br />
You may install OpNet over the network. '''''Please Note: From this share, you are not allowed to make a copy of the files, however you can install the program!'''''<br />
<br />
You must have a CVL account, go [https://computing.ece.vt.edu/~jkh/Session/ here] and create yourself an account.<br />
Start windows explorer (not internet explorer), and type the following into the URL:<br />
\\filebox.ece.vt.edu\OpNet<br />
This should bring up a login box. Use your CVL account to login. If the above does not bring up a login box, try:<br />
\\128.173.88.43\OpNet<br />
You start the insall by double clicking on the program. The proper installation order is:<br />
# modeler_145A_PL0_7017_win.exe<br />
# models_145A_PL0_29Jan08_win.exe<br />
# modeler_docs_28-Jan-2008_win.exe<br />
<br />
===Connecting to the ECE Departmental License Server===<br />
<br />
Start the OpNet program. It should immediatly goto the "License Manager". Close this. In the main menu click on "Edit", "Preferences". A large list of preferences will appear. Scroll<br />
down until you find "license_server", under the column labeled "Name". Under the column labeled "Value", next to license_server put:<br />
license.ece.vt.edu<br />
Also, verify that "license_port" is "port_a".<br />
<br />
Restart OpNet and you should be good to go.<br />
<br />
==Additional Links==<br />
[http://www.opnet.com/ OPNET home page]<br />
<br />
<br />
----<br />
<br>Return to [[Main Page]]<br />
<br>Return to [[Software Packages and Programs]]</div>Pharsh22https://computing.ece.vt.edu/wiki/CScopeCScope2015-11-24T19:47:04Z<p>Pharsh22: Created page with "==Using CScope on CVL== *CSope can be accessed from CVL, CVL Workstation and Beast Cluster Type the following command to launch CScope as GUI CScope <br> <br> '''Learn CSco..."</p>
<hr />
<div>==Using CScope on CVL==<br />
*CSope can be accessed from CVL, CVL Workstation and Beast Cluster<br />
Type the following command to launch CScope as GUI<br />
CScope<br />
<br><br />
<br><br />
'''Learn CScope'''<br />
<br>[http://cscope.sourceforge.net/ CScope with Vim]<br />
<br>[http://cscope.sourceforge.net/large_projects.html Using CScope on Large Projects]</div>Pharsh22https://computing.ece.vt.edu/wiki/Software_Packages_and_ProgramsSoftware Packages and Programs2015-11-24T19:37:53Z<p>Pharsh22: </p>
<hr />
<div>Each of these links offers general information, including setup and information, on a specific program. <br />
<br />
<br>[[Linux Supported Software]]<br />
<br>[[Mac Supported Software]]<br />
<br>[[Windows Supported Software]]<br />
<br />
<br>[[ADS]]<br />
<br>[[Cadence]]<br />
<br>[[Cadence Tools and Packages]]<br />
<br>[[Cadence Demo (OrCAD)]]<br />
<br>[[Cadence Virtuoso]] (A program similar to OrCAD PSpice)<br />
<br>[[Coventor]]<br />
<br>[[CScope]]<br />
<br>[[EM Pro]]<br />
<br>[[Freeware Layout Editor]]<br />
<br>[[Mathematica]]<br />
<br>[[Matlab]]<br />
<br>[[Mentor Graphics]]<br />
<br>[[ModelSim]]<br />
<br>[[OPNET]]<br />
<br>[[Velleman Scopes]]<br />
<br>[[ParaView]]<br />
<br>[[PSIM]]<br />
<br>[[PSpice FAQ]]<br />
<br>[[Simics/Virtutech]]<br />
<br>[[SPB OrCAD]]<br />
<br>[[Synopsys]]<br />
<br>[[Synopsys Tools: What they do]]<br />
<br>[[Synopsys Tutorial: Power Estimation]]<br />
<br>[[Synopsys Design Vision]]<br />
<br>[[University Vienna Software]] (PROMIS, MINIMOS NT, & MINIMOS 6.1)<br />
<br>[[Quartus]]<br />
<br>[[XILINX]]<br />
<br>[[Zombie]]<br />
<br />
----<br />
<br>Return to [[Main Page]]</div>Pharsh22https://computing.ece.vt.edu/wiki/How_to_use_Software_on_CVLHow to use Software on CVL2015-11-24T19:26:17Z<p>Pharsh22: </p>
<hr />
<div>Softwares that run on CVl Workstations<br />
<br />
<br>[[ADS]]<br />
<br>[[ModelSim]]<br />
<br>[[ParaView]]</div>Pharsh22https://computing.ece.vt.edu/wiki/ParaViewParaView2015-11-24T18:32:43Z<p>Pharsh22: Created page with "===Use ParaView on CVL=== *You can access ParaView by logging in to CVL or CVL WorkStations or Beast Cluster Type the following command paraview [http://www.paraview.org/W..."</p>
<hr />
<div>===Use ParaView on CVL===<br />
*You can access ParaView by logging in to CVL or CVL WorkStations or Beast Cluster<br />
Type the following command<br />
paraview<br />
<br />
[http://www.paraview.org/Wiki/The_ParaView_Tutorial Learn ParaView]</div>Pharsh22https://computing.ece.vt.edu/wiki/Software_Packages_and_ProgramsSoftware Packages and Programs2015-11-24T18:10:29Z<p>Pharsh22: </p>
<hr />
<div>Each of these links offers general information, including setup and information, on a specific program. <br />
<br />
<br>[[Linux Supported Software]]<br />
<br>[[Mac Supported Software]]<br />
<br>[[Windows Supported Software]]<br />
<br />
<br>[[ADS]]<br />
<br>[[Cadence]]<br />
<br>[[Cadence Tools and Packages]]<br />
<br>[[Cadence Demo (OrCAD)]]<br />
<br>[[Cadence Virtuoso]] (A program similar to OrCAD PSpice)<br />
<br>[[Coventor]]<br />
<br>[[EM Pro]]<br />
<br>[[Freeware Layout Editor]]<br />
<br>[[Mathematica]]<br />
<br>[[Matlab]]<br />
<br>[[Mentor Graphics]]<br />
<br>[[ModelSim]]<br />
<br>[[OPNET]]<br />
<br>[[Velleman Scopes]]<br />
<br>[[ParaView]]<br />
<br>[[PSIM]]<br />
<br>[[PSpice FAQ]]<br />
<br>[[Simics/Virtutech]]<br />
<br>[[SPB OrCAD]]<br />
<br>[[Synopsys]]<br />
<br>[[Synopsys Tools: What they do]]<br />
<br>[[Synopsys Tutorial: Power Estimation]]<br />
<br>[[Synopsys Design Vision]]<br />
<br>[[University Vienna Software]] (PROMIS, MINIMOS NT, & MINIMOS 6.1)<br />
<br>[[Quartus]]<br />
<br>[[XILINX]]<br />
<br>[[Zombie]]<br />
<br />
----<br />
<br>Return to [[Main Page]]</div>Pharsh22https://computing.ece.vt.edu/wiki/ModelSimModelSim2015-11-24T18:08:15Z<p>Pharsh22: </p>
<hr />
<div>==Use ModelSim on CVL==<br />
* Make sure you are logged in to any of the 6 CVL Workstations<br />
Type the following command, which will set the environment variables for ModelSim<br />
ModelSim<br />
<br />
Type the following command to open ModelSim GUI application<br />
vsim<br />
<br />
<br />
[ftp://ftp.altera.com/up/pub/Altera_Material/10.1/Tutorials/VHDL/ModelSim_GUI_Introduction.pdf Learn ModelSim]</div>Pharsh22https://computing.ece.vt.edu/wiki/ModelSimModelSim2015-11-24T18:07:19Z<p>Pharsh22: </p>
<hr />
<div>==Use ModelSim on CVL==<br />
* Make sure you are logged in to any of the 6 CVL Workstations<br />
Type the following command, which will set the environment variables for ModelSim<br />
ModelSim<br />
<br />
Type the following command to open ModelSim GUI application<br />
vsim</div>Pharsh22https://computing.ece.vt.edu/wiki/ModelSimModelSim2015-11-24T18:06:55Z<p>Pharsh22: </p>
<hr />
<div>==Use ModelSim on CVL==<br />
* Make sure you are logged in to any of the 6 CVL Workstations<br />
Type the following command<br />
ModelSim<br />
<br />
Type the following command to open ModelSim GUI application<br />
vsim</div>Pharsh22https://computing.ece.vt.edu/wiki/ModelSimModelSim2015-11-24T18:06:33Z<p>Pharsh22: Created page with "==Use ModelSim on CVL== * Make sure you are logged in to any of the 6 CVL Workstations Type the following command ModelSim It will set the environment variables for ModelS..."</p>
<hr />
<div>==Use ModelSim on CVL==<br />
* Make sure you are logged in to any of the 6 CVL Workstations<br />
Type the following command<br />
ModelSim<br />
<br />
It will set the environment variables for ModelSim, you will see something like this on the command line<br />
[ModelSim] bash-4.1$<br />
<br />
Type the following command to open ModelSim GUI application<br />
vsim</div>Pharsh22https://computing.ece.vt.edu/wiki/How_to_use_Software_on_CVLHow to use Software on CVL2015-11-24T18:03:03Z<p>Pharsh22: </p>
<hr />
<div>Softwares that run on CVl Workstations<br />
<br />
<br>[[ADS]]<br />
<br>[[ModelSim]]</div>Pharsh22https://computing.ece.vt.edu/wiki/How_to_use_Software_on_CVLHow to use Software on CVL2015-11-24T18:02:48Z<p>Pharsh22: </p>
<hr />
<div>Softwares that run on CVl Workstations<br />
[[ADS]]<br />
[[ModelSim]]</div>Pharsh22https://computing.ece.vt.edu/wiki/Software_Packages_and_ProgramsSoftware Packages and Programs2015-11-24T18:01:37Z<p>Pharsh22: </p>
<hr />
<div>Each of these links offers general information, including setup and information, on a specific program. <br />
<br />
<br>[[Linux Supported Software]]<br />
<br>[[Mac Supported Software]]<br />
<br>[[Windows Supported Software]]<br />
<br />
<br>[[ADS]]<br />
<br>[[Cadence]]<br />
<br>[[Cadence Tools and Packages]]<br />
<br>[[Cadence Demo (OrCAD)]]<br />
<br>[[Cadence Virtuoso]] (A program similar to OrCAD PSpice)<br />
<br>[[Coventor]]<br />
<br>[[EM Pro]]<br />
<br>[[Freeware Layout Editor]]<br />
<br>[[Mathematica]]<br />
<br>[[Matlab]]<br />
<br>[[Mentor Graphics]]<br />
<br>[[ModelSim]]<br />
<br>[[OPNET]]<br />
<br>[[Velleman Scopes]]<br />
<br>[[PSIM]]<br />
<br>[[PSpice FAQ]]<br />
<br>[[Simics/Virtutech]]<br />
<br>[[SPB OrCAD]]<br />
<br>[[Synopsys]]<br />
<br>[[Synopsys Tools: What they do]]<br />
<br>[[Synopsys Tutorial: Power Estimation]]<br />
<br>[[Synopsys Design Vision]]<br />
<br>[[University Vienna Software]] (PROMIS, MINIMOS NT, & MINIMOS 6.1)<br />
<br>[[Quartus]]<br />
<br>[[XILINX]]<br />
<br>[[Zombie]]<br />
<br />
----<br />
<br>Return to [[Main Page]]</div>Pharsh22https://computing.ece.vt.edu/wiki/ADSADS2015-11-24T17:59:12Z<p>Pharsh22: </p>
<hr />
<div>[[Image:ADS Agilent.gif|right]]<br />
<br />
==Use ADS on CVL==<br />
* Make sure you are logged in to any of the 6 CVL Workstations<br />
Type the following command<br />
ads<br />
Activate the license by following these steps if you are using it for the first time.<br />
#On '''Cannot find a license for this product''' window, select '''I want to specify a network license server'''<br />
#Path to license: “27003@license.ece.vt.edu”<br />
#Select a license from the available two licenses as per your requirement.<br />
<br />
[http://www.keysight.com/en/pc-1297113/advanced-design-system-ads?cc=US&lc=eng Learn ADS]<br><br />
<br><br />
<br />
==Install ADS on your local computer==<br />
===Getting Started===<br />
[[Image:ADS Setup 0.jpg|thumb|(fg.1) Selecting Properties.]]<br />
[[Image:ADS Setup 3.jpg|thumb|(fg.3) Environment Variables Window.]]<br />
[[Image:ADS Setup 4.jpg|thumb|(fg.4) New Variable Window.]]<br />
Before installing ADS you need to do this important step in order for the program to work. On the desktop right click on my computer and select the properties option from that menu (fg.1). A window called System Properties should pop up. From here select the Advanced Tab (fg.2). Under the Advanced tab click on the button called Environmental Variables. Select New for the options for User variables (fg.3). Enter for Variable name AGILEESOFD_LICENSE_FILE and for Variable value 27003@license.ece.vt.edu (fg.4). <br />
<br />
<br />
[[Image:ADS Setup 2.jpg]]<br />
<br><sub>fg.2 Advanced Tab</sub><br />
<br />
<br>Once the new environment variable has been entered you can proceed with the installation of ADS below.<br />
<br />
===Installing ADS on Windows (2000/XP/Vista)===<br />
<br><font color= Red>'''Disclaimer: ADS is to only be installed on a University Owned Computer.'''</font><br />
<br />
====Install====<br />
<br>'''Step 1''' Download the ADS file from [[ECE Software Downloads]] and open the file.<br />
<br>'''Step 3''' Click next on the first window that welcomes you to the installation. The Next page is the license agreement (please familiarize yourself with the license) which you accept by clicking the yes tab.<br />
<br>'''Step 4''' Enter your desired user name and Virginia Tech ECE as the Company Name. The next window you will define where ADS will be installed (C:\ADS2006A\ is the default). After defining the install folder you will specify your home directory where all your projects will be saved to. (default is C:\users\default)<br />
<br>'''Step 5''' In the next window click complete install. After you have done this the program will confirm the options you have chosen. Review these and continue. The program will install itself now.<br />
<br>'''Step 6''' After the install completes a window will pop up telling you that you need a license to run the program. Just click OK. Another window will pop up asking if you will be using a FLEXid Dongle, click no. <br />
<br>'''Step 7''' ADS will ask you to restart your computer in order to complete installation.<br />
<br />
<br>For a visual representation of the steps just covered please [http://computing.ece.vt.edu/wiki/ADS_Windows_Installation_Pictures click here].<br />
<br />
====Install Alternative (ADS 2011)====<br />
<br />
Download the installation package from [[ECE Software Downloads]] or from [http://edocs.soco.agilent.com/display/downloads/Advanced+Design+System]. <br />
<br>Run the installation package for ADS and select the use floating license when requested.<br />
<br>When asked, enter the following URL for the license server: 27003@license.ece.vt.edu<br />
<br>Reboot and you should be ready to go.<br />
<br>NOTE: In ADS 2011 you have to unpack the vendor libraries you wish to use from the folder "Agilent/ADS2011_05/oalibs/componentLib" and then associate them with your wordspace as you create it (ADS 2011 uses workspaces rather than projects, but can import projects). The unpacking may be done when creating a workspace. In the Add Libraries dialog, simply select Add User Favorite Library/PDK, select a library from the above folder, select a location for the library, and complete the process.<br />
<br />
====Vendor Library Summary====<br />
ADS Libraries<br />
#Analog/RF: This is the basic ADS library of lumped components, TLs, sources, and simulation controllers. You don’t need to do anything here. This library is added automatically to all schematics.<br />
#DSP: This is the basic Ptolemy library. This library is added automatically to all schematics. Normally uncheck this library unless using the Ptolemy (DSP) simulator.<br />
Vendor Libraries<br />
#Analog Parts Library: This contains low frequency models of BJTs, diodes, and FETs. For example, the 2n2222 is a typical device. <br />
#HF Diode Library: This contains many high frequency models of mixer, varactor, and PIN diodes <br />
#Measurement Based SMT Passive Library: This is a library that contains (for some reason) only some MuRata (SMT=Surface Mount) capacitors. <br />
#Microwave Transistor Library: This contains high frequency models of transistor dies<br />
#RF Passive SMT library: This contains high frequency models of surface mount (SMT) capacitors, inductors and resistors. Models include parasitics.<br />
#RF Transistor Library: This contains high frequency models of transistor dies + package parasitics<br />
#S-Parameter Library: This contains S-parameters of RF transistors and some MMIC amplifiers <br />
#System Library: This contains S-parameters of amplifiers, filters, and other RF modules<br />
<br />
===Additional Links===<br />
<br />
[[Momentum Tutorial]]<br><br />
[http://www.home.agilent.com/agilent/home.jspx?cc=US&lc=eng&cmpid=4533 Agilent Home Page]<br />
<br>[http://en.wikipedia.org/wiki/Agilent Agilent history]<br />
<br>[http://eesof.tm.agilent.com/applications/latest.html ADS Tutorial]<br />
<br />
----<br />
<br />
<br>Return to [[Main Page]]<br />
<br>Return to [[Software Packages and Programs]]</div>Pharsh22https://computing.ece.vt.edu/wiki/ADSADS2015-11-24T17:50:49Z<p>Pharsh22: </p>
<hr />
<div>[[Image:ADS Agilent.gif|right]]<br />
<br />
==Use ADS on CVL==<br />
<br />
==Install ADS on your local computer==<br />
===Getting Started===<br />
[[Image:ADS Setup 0.jpg|thumb|(fg.1) Selecting Properties.]]<br />
[[Image:ADS Setup 3.jpg|thumb|(fg.3) Environment Variables Window.]]<br />
[[Image:ADS Setup 4.jpg|thumb|(fg.4) New Variable Window.]]<br />
Before installing ADS you need to do this important step in order for the program to work. On the desktop right click on my computer and select the properties option from that menu (fg.1). A window called System Properties should pop up. From here select the Advanced Tab (fg.2). Under the Advanced tab click on the button called Environmental Variables. Select New for the options for User variables (fg.3). Enter for Variable name AGILEESOFD_LICENSE_FILE and for Variable value 27003@license.ece.vt.edu (fg.4). <br />
<br />
<br />
[[Image:ADS Setup 2.jpg]]<br />
<br><sub>fg.2 Advanced Tab</sub><br />
<br />
<br>Once the new environment variable has been entered you can proceed with the installation of ADS below.<br />
<br />
===Installing ADS on Windows (2000/XP/Vista)===<br />
<br><font color= Red>'''Disclaimer: ADS is to only be installed on a University Owned Computer.'''</font><br />
<br />
====Install====<br />
<br>'''Step 1''' Download the ADS file from [[ECE Software Downloads]] and open the file.<br />
<br>'''Step 3''' Click next on the first window that welcomes you to the installation. The Next page is the license agreement (please familiarize yourself with the license) which you accept by clicking the yes tab.<br />
<br>'''Step 4''' Enter your desired user name and Virginia Tech ECE as the Company Name. The next window you will define where ADS will be installed (C:\ADS2006A\ is the default). After defining the install folder you will specify your home directory where all your projects will be saved to. (default is C:\users\default)<br />
<br>'''Step 5''' In the next window click complete install. After you have done this the program will confirm the options you have chosen. Review these and continue. The program will install itself now.<br />
<br>'''Step 6''' After the install completes a window will pop up telling you that you need a license to run the program. Just click OK. Another window will pop up asking if you will be using a FLEXid Dongle, click no. <br />
<br>'''Step 7''' ADS will ask you to restart your computer in order to complete installation.<br />
<br />
<br>For a visual representation of the steps just covered please [http://computing.ece.vt.edu/wiki/ADS_Windows_Installation_Pictures click here].<br />
<br />
====Install Alternative (ADS 2011)====<br />
<br />
Download the installation package from [[ECE Software Downloads]] or from [http://edocs.soco.agilent.com/display/downloads/Advanced+Design+System]. <br />
<br>Run the installation package for ADS and select the use floating license when requested.<br />
<br>When asked, enter the following URL for the license server: 27003@license.ece.vt.edu<br />
<br>Reboot and you should be ready to go.<br />
<br>NOTE: In ADS 2011 you have to unpack the vendor libraries you wish to use from the folder "Agilent/ADS2011_05/oalibs/componentLib" and then associate them with your wordspace as you create it (ADS 2011 uses workspaces rather than projects, but can import projects). The unpacking may be done when creating a workspace. In the Add Libraries dialog, simply select Add User Favorite Library/PDK, select a library from the above folder, select a location for the library, and complete the process.<br />
<br />
====Vendor Library Summary====<br />
ADS Libraries<br />
#Analog/RF: This is the basic ADS library of lumped components, TLs, sources, and simulation controllers. You don’t need to do anything here. This library is added automatically to all schematics.<br />
#DSP: This is the basic Ptolemy library. This library is added automatically to all schematics. Normally uncheck this library unless using the Ptolemy (DSP) simulator.<br />
Vendor Libraries<br />
#Analog Parts Library: This contains low frequency models of BJTs, diodes, and FETs. For example, the 2n2222 is a typical device. <br />
#HF Diode Library: This contains many high frequency models of mixer, varactor, and PIN diodes <br />
#Measurement Based SMT Passive Library: This is a library that contains (for some reason) only some MuRata (SMT=Surface Mount) capacitors. <br />
#Microwave Transistor Library: This contains high frequency models of transistor dies<br />
#RF Passive SMT library: This contains high frequency models of surface mount (SMT) capacitors, inductors and resistors. Models include parasitics.<br />
#RF Transistor Library: This contains high frequency models of transistor dies + package parasitics<br />
#S-Parameter Library: This contains S-parameters of RF transistors and some MMIC amplifiers <br />
#System Library: This contains S-parameters of amplifiers, filters, and other RF modules<br />
<br />
===Additional Links===<br />
<br />
[[Momentum Tutorial]]<br><br />
[http://www.home.agilent.com/agilent/home.jspx?cc=US&lc=eng&cmpid=4533 Agilent Home Page]<br />
<br>[http://en.wikipedia.org/wiki/Agilent Agilent history]<br />
<br>[http://eesof.tm.agilent.com/applications/latest.html ADS Tutorial]<br />
<br />
----<br />
<br />
<br>Return to [[Main Page]]<br />
<br>Return to [[Software Packages and Programs]]</div>Pharsh22https://computing.ece.vt.edu/wiki/How_to_use_Software_on_CVLHow to use Software on CVL2015-11-24T17:48:23Z<p>Pharsh22: </p>
<hr />
<div>[[ADS]]</div>Pharsh22https://computing.ece.vt.edu/wiki/MathematicaMathematica2015-11-24T17:25:39Z<p>Pharsh22: </p>
<hr />
<div>'''How to use mathematica on cvl'''<br />
----<br />
Mathematica only runs on the CVL Workstation machines, cvlws[01-06].ece.vt.edu.<br />
<br />
Follow these steps to run and activate the software.<br />
<br />
#Log in to any work station by typing the following command.<br />
#*'''ssh -X ECEUSERNAME@cvlws[01-06].ece.vt.edu'''<br />
#Once logged in, type<br />
#*'''mathematica'''<br />
#A product activation page will open up. Select '''Other ways to activate''' at the bottom left part of the screen.<br />
#Select '''Connect to a network license server'''<br />
#Enter this address : '''willow.ece.vt.edu'''<br />
#Accept the terms of agreement and click '''OK'''<br />
<br />
<br />
'''Find all available tools on cvl'''<br />
----<br />
Other Mathematica command line executables are available at<br />
/software/Mathematica/bin<br />
<br><br />
Click on the link below to read tutorials about how to use Mathematica.<br><br />
[https://www.wolfram.com/support/learn/ Learn Mathematica]</div>Pharsh22https://computing.ece.vt.edu/wiki/MathematicaMathematica2015-11-24T17:20:14Z<p>Pharsh22: </p>
<hr />
<div>'''How to use mathematica on cvl'''<br />
----<br />
Mathematica only runs on the CVL Workstation machines, cvlws[01-06].ece.vt.edu<br />
Follow these steps to run and activate the software.<br />
<br />
*Log in to any work station by typing the following command.<br />
'''ssh -X ECEUSERNAME@cvlws[01-06].ece.vt.edu'''<br />
*Once logged in, type<br />
'''mathematica'''<br />
*A product activation page will open up. Select '''Other ways to activate''' at the bottom left part of the screen.<br />
*Select '''Connect to a network license server'''<br />
*Enter this address : '''willow.ece.vt.edu'''<br />
*Accept the terms of agreement and click '''OK'''<br />
<br />
<br />
'''Find all available tools on cvl'''<br />
----<br />
Other Mathematica command line executables are available at<br />
/software/Mathematica/bin<br />
<br><br />
Click on the link below to read tutorials about how to use Mathematica.<br><br />
[https://www.wolfram.com/support/learn/ Learn Mathematica]</div>Pharsh22https://computing.ece.vt.edu/wiki/MathematicaMathematica2015-11-24T17:19:47Z<p>Pharsh22: </p>
<hr />
<div>'''How to use mathematica on cvl'''<br />
----<br />
Mathematica only runs on the CVL Workstation machines, cvlws[01-06].ece.vt.edu<br />
Follow these steps to run and activate the software.<br />
<br />
*Log in to any work station by typing the following command.<br />
'''ssh -X ECEUSERNAME@cvlws[01-06].ece.vt.edu'''<br />
*Once logged in, type<br />
'''mathematica'''<br />
*A product activation page will open up. Select '''Other ways to activate''' at the bottom left part of the screen.<br />
*Select '''Connect to a network license server'''<br />
*Enter this address : '''willow.ece.vt.edu'''<br />
*Accept the terms of agreement and click '''OK'''<br />
<br />
<br />
'''Other tools available on cvl'''<br />
----<br />
Other Mathematica command line executables are available at<br />
/software/Mathematica/bin<br />
<br><br />
Click on the link below to read tutorials about how to use Mathematica.<br><br />
[https://www.wolfram.com/support/learn/ Learn Mathematica]</div>Pharsh22https://computing.ece.vt.edu/wiki/MathematicaMathematica2015-11-24T17:19:20Z<p>Pharsh22: </p>
<hr />
<div>'''How to use mathematica on cvl'''<br />
----<br />
Mathematica only runs on the CVL Workstation machines, cvlws[01-06].ece.vt.edu<br />
Follow these steps to run and activate the software.<br />
<br />
*Log in to any work station by typing the following command.<br />
'''ssh -X ECEUSERNAME@cvlws[01-06].ece.vt.edu'''<br />
*Once logged in, type<br />
'''mathematica'''<br />
*A product activation page will open up. Select '''Other ways to activate''' at the bottom left part of the screen.<br />
*Select '''Connect to a network license server'''<br />
*Enter this address : '''willow.ece.vt.edu'''<br />
*Accept the terms of agreement and click '''OK'''<br />
<br />
<br />
'''Available tools on cvl'''<br />
----<br />
Other Mathematica command line executables are available at<br />
/software/Mathematica/bin<br />
<br><br />
Click on the link below to read tutorials about how to use Mathematica.<br><br />
[https://www.wolfram.com/support/learn/ Learn Mathematica]</div>Pharsh22https://computing.ece.vt.edu/wiki/MathematicaMathematica2015-11-24T17:13:16Z<p>Pharsh22: </p>
<hr />
<div>'''How to use mathematica on cvl'''<br />
----<br />
Mathematica only runs on the CVL Workstation machines, cvl[01-06].ece.vt.edu<br />
Follow these steps to run and activate the software.<br />
<br />
*Log in to any work station by typing the following command.<br />
'''ssh -X ECEUSERNAME@cvlws[01-06].ece.vt.edu'''<br />
*Once logged in, type<br />
'''mathematica'''<br />
*A product activation page will open up. Select '''Other ways to activate''' at the bottom left part of the screen.<br />
*Select '''Connect to a network license server'''<br />
*Enter this address : '''willow.ece.vt.edu'''<br />
*Accept the terms of agreement and click '''OK'''</div>Pharsh22