Giter Club home page Giter Club logo

haisamido / gmat Goto Github PK

View Code? Open in Web Editor NEW
24.0 8.0 11.0 354.43 MB

General Mission Analysis Tool (GMAT) - a Space Flight Dynamics Analysis Tool

Home Page: http://gmatcentral.org/display/GW/GMAT+Wiki+Home

License: Other

C 44.68% C++ 39.62% Objective-C 2.53% Shell 0.32% MATLAB 0.62% M 0.02% Perl 0.08% TeX 2.98% XSLT 7.02% CSS 0.07% Ruby 0.01% Python 0.01% Graphviz (DOT) 0.03% JavaScript 0.61% Java 0.18% Scala 0.12% Fortran 0.19% IDL 0.03% Slash 0.03% R 0.84%

gmat's Introduction

On the Linux CentOS 6.5 (x86_64) command line execute the below 5 lines:

export GMAT_BRANCH="x86_64.Linux.CentOS_6.5"
wget https://github.com/haisamido/GMAT/archive/${GMAT_BRANCH}.zip
unzip ${GMAT_BRANCH}.zip
cd ${GMAT_BRANCH}
./compile.sh

To execute GMAT follow these steps:

cd gmat/application/bin
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:./
./GMAT

IGNORE WHAT IS BELOW FOR NOW

#-------------------------------------------------------------------------------
# Compilation attempt of svn co https://svn.code.sf.net/p/gmat/code/trunk gmat on Centos 6.5 *(x86_64)*
# GMAT Compilations Instructions: http://gmatcentral.org/display/GW/Building+on+Linux
#-------------------------------------------------------------------------------

#-------------------------------------------------------------------------------
# Setup
#-------------------------------------------------------------------------------
export PROJECT_DIR="${HOME}/Development"
export GMAT_DIR="${PROJECT_DIR}/GMAT"
export GMAT_DOWNLOADS="${GMAT_DIR}/downloads"
export BUILD_ARCH="linux64"
mkdir -p "${GMAT_DOWNLOADS}"
cd "${GMAT_DOWNLOADS}"
#-------------------------------------------------------------------------------

#-------------------------------------------------------------------------------
# Prerequisites
#-------------------------------------------------------------------------------
sudo yum install -y  gcc make cmake binutils automake autoconf gtk+-devel gtk2-devel libtiff-devel csh
sudo yum groupinstall "Development Tools"
sudo yum install -y  compat-libf2c-34
#-------------------------------------------------------------------------------

#-------------------------------------------------------------------------------
# wxGTK 2.8.12
#-------------------------------------------------------------------------------
#-------------------------------------------------------------------------------
# OpenGL headers needed by WxGTK
#-------------------------------------------------------------------------------
sudo yum install -y  mesa-libGL-devel mesa-libGLU-devel
#-------------------------------------------------------------------------------
cd "${GMAT_DOWNLOADS}"
wget http://tinyurl.com/wxGTK-2-8-12-tar-gz
mv wxGTK-2-8-12-tar-gz wxGTK-2-8-12.tar.gz
tar zxvf wxGTK-2-8-12.tar.gz

cd ./wxGTK-2.8.12
chmod a+x ./configure
mkdir build-gmat
cd build-gmat
../configure --prefix=`pwd` --with-opengl
make
sudo make install
cd ./lib
ln -s libwx_base-2.8.so.0 libwx_base-2.8.so
cd "${GMAT_DOWNLOADS}"

#-------------------------------------------------------------------------------

#-------------------------------------------------------------------------------
# f2c : http://pkgs.org/centos-6/atrpms-i386/f2c-20031026-3.0.1.el6.i686.rpm.html 
# http://pkgs.org/centos-6/atrpms-x86_64/f2c-20031026-3.0.1.el6.x86_64.rpm
#-------------------------------------------------------------------------------
wget http://dl.atrpms.net/el6-i386/atrpms/stable/atrpms-repo-6-7.el6.i686.rpm
sudo rpm -Uvh atrpms-repo*rpm
sudo yum install -y  f2c
#-------------------------------------------------------------------------------

#-------------------------------------------------------------------------------
# SPICE (64bit)
#-------------------------------------------------------------------------------
cd "${GMAT_DOWNLOADS}"
wget  http://naif.jpl.nasa.gov/pub/naif/toolkit//C/PC_Linux_GCC_64bit/packages/cspice.tar.Z
gunzip cspice.tar.Z
tar xvf cspice.tar
cd cspice
./makeall.csh
#-------------------------------------------------------------------------------

#-------------------------------------------------------------------------------
# PCRE
#-------------------------------------------------------------------------------
sudo yum install -y  pcre pcre-devel
#-------------------------------------------------------------------------------

#-------------------------------------------------------------------------------
# GMAT
#-------------------------------------------------------------------------------
cd "${GMAT_DOWNLOADS}" 
svn co https://svn.code.sf.net/p/gmat/code/trunk gmat
cd gmat
export PLATFORM=linux
cp ./build/linux64/BuildEnv.mk ./src/

gmat's People

Contributors

haisamido avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.