Skip to main content

more options


Organizing and Building Executables

There are three basic ways to build an executable to run on the Cornell Theory Center compute nodes running Linux:

  1. Command line compilation
  2. Integrated Development Environment (IDE)
  3. Makefiles

There are three basic ways to build an executable to run on the Cornell Theory Center compute nodes running Linux:

  1. Command line compilation - If the application is simple enough to fit into one or two source files and doesn't require many special libraries or include files, you may compile and link it from the command line.
  2. Integrated Development Environment (IDE) - Eclipse is good for simple applications, as well as more complex ones.  It can handle all compiler and linker options, include files, libraries (both static and dynamic) and dependencies.  It also has interfaces to debuggers and a source code browser.
  3. Makefiles - for applications that already have makefiles, the makefile approach is more efficient.  If you are in a debug/modify cycle, working in Eclipse may be more convenient.