Giter Club home page Giter Club logo

jeremyyy5 / research-computing-with-cpp Goto Github PK

View Code? Open in Web Editor NEW

This project forked from timspainucl/research-computing-with-cpp

0.0 1.0 0.0 39.21 MB

UCL-RITS *C++ for Research* engineering course

Home Page: https://rits.github-pages.ucl.ac.uk/research-computing-with-cpp/

CMake 2.84% Shell 0.18% Python 0.13% C++ 81.89% C 2.13% Cuda 1.28% CSS 0.05% Makefile 0.02% Ruby 0.04% Jupyter Notebook 0.02% Dockerfile 0.01% Fortran 11.17% JavaScript 0.07% HTML 0.17%

research-computing-with-cpp's Introduction

research-computing-with-cpp

Deployed at:

http://rits.github-pages.ucl.ac.uk/research-computing-with-cpp

We normally build these locally on a Mac. We use g++ installed via homebrew. So, for g++ version 7, we would:

git clone https://github.com/UCL-RITS/research-computing-with-cpp
cd research-computing-with-cpp
CC=gcc-7 CXX=g++-7 ./build.sh

The explicit compiler selection is needed on Mac OS for OpenMP (and possibly MPI) examples to build. Update the version number as necessary.

You will need to have a bunch of stuff installed in order for the build to succeed. For Mac:

  • Libraries:
    • brew install boost
  • For building MPI and OpenMP examples:
    • brew install open-mpi
    • brew install gcc
  • Ruby stuff:
    • brew install ruby
    • gem install liquid
    • gem install jekyll
    • gem install redcarpet
  • Other utilities:
    • brew install wget

Then in folder _site, you'll have the html's. Or, for a shortcut: make preview

See https://github.com/UCL-RITS/research-computing-with-cpp/blob/master/01cpp/index.md for an example of how to reference a C file, CMake file, and run an executable

And https://github.com/UCL-RITS/research-computing-with-cpp/tree/master/01cpp/cpp/hello for the corresponding code

research-computing-with-cpp's People

Contributors

mattclarkson avatar jamespjh avatar jonc125 avatar jenshnielsen avatar ilectra avatar garymacindoe avatar jeydobson avatar tcouch avatar klapaukh avatar timspainucl avatar dpshelio avatar

Watchers

James Cloos 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.