HPCCommunity.org
 
Register

Go Back   HPC Community - High Performance Computing (HPC) Community > Symphony Developer Edition (DE) > Symphony DE Articles and Helpful Tips > Development and Debugging Tips

Development and Debugging Tips Share development and debugging tips for Symphony DE.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old July 29th, 2008, 05:13 AM
Junior Member
 
Join Date: March 28th, 2008
Location: Canberra
Posts: 8
Default Create and Deploy NEW C++ Symphony Applications

It may appear silly. But it took me quite a while to figure out how to DEPLOY a NEW C++ Symphony App (The Eclipse tutorials in Symphony Docs give you fairly good idea how to write and deploy a Java App) . So, I thought I will share it with others in simple terms.

I assume that you have already installed SymphonyDE and it is all set to run in your machine ( I use RHEL5).
  1. use 'soamstartup' command to start SymphonyDE (refer, Symphony Docs to reach up here )
  2. copy and paste the SampleApplicationCPP folder (Usually it is here: /opt/symphonyDE/DE40/4.0/samples/CPP/SampleApp)to the place where you want your application to run from (Eg. /home/user/CPPworkspace)
  3. To begin with, modify that SampleApplicationCPP and create your own 'NEW' application
  4. Change to '/home/user/CPPworkspace/SampleApp'. In order to compile, you need to slightly modify the Makefiles
  5. Change the 'TOP' of EACH Makefile (there are 3 or 4) to TOP = $(SYMDE_TOP)
  6. Now do the following commands in the Terminal you started symphony: export SYMDE_TOP=/directory/to/symphonyDE/4.0 (eg: /opt/symphonyDE/DE/4.0)
  7. export SOAM_LIBDIR=$SYMDE_TOP/$ARCH_BUILD/lib (Eg: /opt/symphonyDE/DE/4.0/linux2.6-glibc2.3-x86/lib)
  8. Then follow the 'Readme' of 'Logging' in 'Application Samples' of Platform Knowledge Centre (PKC) at Platform Knowledge Center to make, deploy and run the application
  9. Now you should be running your NEW C++ Symphony application
__________________
Jaison Mulerikkal
DCS, ANU, Canberra
Australia

http://cs.anu.edu.au/~Jaison.Mulerikkal
Reply With Quote
  #2 (permalink)  
Old July 29th, 2008, 02:55 PM
Ajith's Avatar
Symphony DE Moderator
 
Join Date: February 28th, 2008
Location: Markham, Ontario
Posts: 95
Blog Entries: 2
Default Moving Source Directory on Linux

Thanks for posting the instructions on how to move your source directory on Linux.

For step 5, instead of creating a new variable SYMDE_TOP, you can use TOP = $(SOAM_HOME)/4.0

SOAM_HOME is set when you source your environment.

- Ajith
Reply With Quote
  #3 (permalink)  
Old July 29th, 2008, 11:51 PM
Junior Member
 
Join Date: March 28th, 2008
Location: Canberra
Posts: 8
Default That's a good suggestion!

To change > TOP = $(SOAM_HOME)/4.0

is a good suggestion. Thanks for that tip.
__________________
Jaison Mulerikkal
DCS, ANU, Canberra
Australia

http://cs.anu.edu.au/~Jaison.Mulerikkal
Reply With Quote
Reply

Tags
c++ application, symphony de

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump


All times are GMT. The time now is 09:36 PM.


Powered by vBulletin® Version 3.8.0 Release Candidate 1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.