Help:Ccaffeine GUI: Difference between revisions

From CSDMS
No edit summary
m (redirect to new CMT portal)
 
(44 intermediate revisions by 2 users not shown)
Line 1: Line 1:
= CSDMS Modeling Tool: A guide for developers and users =
#REDIRECT [[CMT_portal]]
__TOC__
 
 
== Introduction ==
 
There is a graphical front-end for Ccaffeine (known as Ccaffeine GUI ) which provides a fairly simple visual programming metaphor for the assembly of applications using CCA components.  We at CSDMS are developing a modified version of the Ccaffeine GUI called the CSDMS Modeling Tool to make it easier for the user by providing a better look and feel with many added features as listed below. (We are also working on adding more features and to release an error proof application)
 
== Features ==
'''Listed below are few of the added features:'''
*Better Look and Feel
*Customizable background color and screen font
*Log in screen
*Ssh tunneling via CMT
*Sftp transfer of files from server to local machine and vice versa
*Wired and Wireless option for creating model
*Wireless option can automatically connect components
*Console window with clear and save options
*Colorful components
*With Open, Save, Save As options
*Option to Remove/Delete components, Clear Arena etc
*Project Refresh & Reload options
*Configure Dialog, to configure the input parameters for the model
*Added access to visualization tool called VisIt
*Preference page
*MAC/Windows/Linux versions
*Tutorials
*Help (About…)
*...
 
An account is required to log on to the CSDMS HPCC. To request an account [[Help:HPCC_account_request | sign up here.]]
CMT can connect to the server in just a button click. For this the VPN should be setup. The models residing on the server are selected from a combo box, which opens the GUI by filling the palette with the components of the selected project. Click here for [[media:GettingStartedGuide.pdf | details on how to get started]].
 
Few Screen shots are given below:
[[Image:login.png| none | 400px | thumb | alt=Login Screen|Login Screen]]
 
[[Image:main.png| none | 700px | thumb |alt=Main Screen|Main Screen]]
 
[[Image:preferences.png| none | 700px | thumb |alt=Preference Screen|Preference Screen]]
 
[[File:configure.png| none | 700px | thumb | alt=Configure Screen|Configure Screen]]
 
== Downloads ==
You can run CMT just by a click! [[media:Launch.jnlp | Run CMT now]]
 
Note: Java 1.6+ is required. Some browser does not support Java Webstart feature. In that case please download the application and run CMT as a separate application from your computer.
{|border="1" cellpadding="2"
!width="50"|Version
!width="225"|Platform
!width="225"|Executable
!width="225"|Comments
|-
|1.4
|MAC
|[[media:CMT_1.4_MAC.zip|CMT_1.4_MAC.zip]] (14 June 2010)
|Requirements:
* SUN JDK 1.5
* VisIt 1.12.2
Note:
*Please delete CMT configuration files (CMT_Files) as the settings have changed. This should be in the same folder as the previous CMT installation.
* Beta version
|-
|1.4
|PC
|[[media:CMT_1.4_PC.zip|CMT_1.4_PC.zip]] (14 June 2010)
|Requirements:
* SUN JDK 1.5
* VisIt 1.12.2
Note:
*Please delete CMT configuration files (CMT_Files) as the settings have changed. This should be in the same folder as the previous CMT installation.
*Beta Version
|-
|1.4
|Linux
|[[media:CMT_1.4_Linux.zip|CMT_1.4_Linux.zip]] (14 June 2010)
|Requirements:
* SUN JDK 1.5
* VisIt 1.12.2
Note:
*Please delete CMT configuration files (CMT_Files) as the settings have changed. This should be in the same folder as the previous CMT installation.
*Beta Version
|}
 
* Older Versions of CMT are available [[Ccaffeine GUI Older Version Downloads | here]]
 
== Installation Notes ==
MAC:
* Unzip CMT_1.4.zip
* Double click the app file and enter your beach username and paswword.
Unix:
* Type "tar -xvf CMT_1.4_Linux.zip" at the command prompt to extract the file
* To run the jar file type "java -jar CMT_1.4_Linux.jar"
PC:
* Unzip CMT_1.4_PC.zip
* Double click the exe file and enter your beach username and paswword.
 
== VisIt - Introduction ==
VisIt is a free interactive parallel visualization and graphical analysis tool for viewing scientific data on Unix and PC platforms. Users can quickly generate visualizations from their data, animate them through time, manipulate them, and save the resulting images for presentations. VisIt contains a rich set of visualization features so that you can view your data in a variety of ways. It can be used to visualize scalar and vector fields defined on two- and three-dimensional (2D and 3D) structured and unstructured meshes. VisIt was designed to handle very large data set sizes in the tera- to peta-scale range and yet can also handle small data sets in the kilobyte range.
 
=== Installation Notes ===
Notes:
*The version of VisIt on CSDMS HPCC and on your local machine should be the same. The VisIt version running on CSDMS HPCC is 1.12.2. (you will need to scroll down to find this version).
Installation Notes:
*'''For Mac & Unix'''
**Download VisIt 1.12.2 appropriate for your Operating System from [https://wci.llnl.gov/codes/visit/executables.html here.]
Note that if you have MAC OS 10.6 there is not yet a new VISIT version released! BUT, we tested the VISIT version for 10.4.11 and it appears to be working fine even if your operating system is the newer version. Another note of caution is that some browsers immediately will untar the tarred visit file, whereas the script expects to find an tarred file. Make sure that if you are prompted about unarchiving that you do not choose that option, but instead save the archived file.
 
**Click on the [https://wci.llnl.gov/codes/visit/1.12.2/visit-install visit install script(for the version 1.12.2) link] in the download page
***Goto Edit > Select All or just copy the whole script
***Open Terminal
***Type "vi visit-install" and hit enter. This opens a text editor.
***Change to vi insert mode by typing "I". Now paste the script into this and save the script by changing back to command mode. To change to command mode hit "Esc" key and then save the script by typing in ":wq!". This saves and quits the editor.([http://www.uic.edu/depts/accc/software/unixgeneral/vi101.html Vi Tutorial]). Description above should look like this:
<syntaxhighlight lang="bash" lines="0">
>> cd ~
>> vi visit-install
>> i
>>Ctrl + V
>> Esc
>>:wq!
</syntaxhighlight>
Note: It is convenient to have the downloaded file and the script in the same folder (In this case it is home folder)
**To run the script type in the following into your terminal window
For Mac 10.5.8:
<syntaxhighlight lang="bash" lines="0">
>> cd ~
>> chmod 700 visit-install
>> mkdir visit
>> ./visit-install 1.12.2 darwin-i386 ./visit
</syntaxhighlight>
Installation of VisIt starts here. Choose '1' if you don't want to add profiles on remote computer. Then after that it asks 'Do you need to use a bank when submitting parallel jobs to a
batch system?'. Incase of CMT the answer is no so you type in 'n'
To move visit to your Applications folder
<syntaxhighlight lang="bash" lines="0">
mv ./visit /Applications
</syntaxhighlight>
''Congratulations! You have successfully installed VisIt.''
**Run VisIt
<syntaxhighlight lang="bash" lines="0">
cd /Applications/visit/bin
./visit &
</syntaxhighlight>
'''OR'''
If visit were installed in the directory "/Applications/visit", then the following commands would set your path appropriately.
<syntaxhighlight lang="bash" lines="0">
>> cd
>> echo "set path = ($path /Applications/visit/bin)" >> .cshrc
</syntaxhighlight>
**To run VisIt type “visit” on the command prompt
*'''CMT setup for VisIt'''
**Open CMT, Goto File --> Preferences and enter the following values as shown below.
<syntaxhighlight lang="bash" lines="0">
>> VisIt
Path(local):

The
path
to
your
local
VisIt
installation.(/Applications/visit)
</syntaxhighlight>
 
For more information read this:
This will unpack the downloaded tar file and install VisIt in the specified directory. Note that it can create a new distribution directory or update an existing distribution.  This is handled automatically. The command to run the script is,
<syntaxhighlight lang="bash" lines="0">
>> visit-install "version" "platform" "directory"
</syntaxhighlight>
where,
***'''"version"''' will be 1.12.2 for the current distribution.
***'''"platform"''' will be one of the following:  aix, aix64-xlc,      darwin, irix6, linux-altix, linux-ia64, linux-x86_64, linux_chaos,  linux_rhel3, osf1, or sunos5 depending on the machine.  The one you use should match the name of the accompanying distribution file.
***'''"directory"''' is the directory you wish to install visit into. If the directory doesn't exist the script will create it.
***For example: visit-install 1.12.2 darwin-i386 /Applications/visit.
Note that you will need to have the file "visit1_12_2.ldarwin-i386.tar.gz" present in the current directory for this to function properly. 
**Add the bin directory below the installation directory (/Applications/visit/bin in our example) to each user's search path. The best way to do this is to add it to the user's .cshrc file. The bin directory contains the visit script which starts VisIt. It can be run on many machines.  The script determines the type of machine it is running on and starts the appropriate executable.
*'''For Windows'''
**Copy the file visit1.12.2.exe to your desktop.
**Double click on the visit1.12.2.exe icon to run the installer.
**Follow the directions provided by the installer.

Latest revision as of 14:54, 14 December 2010

Redirect to: