Memo‎ > ‎

CMake + MPI/Eclipse

posted Jun 23, 2011, 9:37 PM by Teng-Yok Lee   [ updated Nov 20, 2012, 6:28 AM ]

CMake + MPI:

http://eothred.wordpress.com/2010/02/25/hello-world-cmakeopenmpi/

CMake + Eclipse

http://www.cmake.org/Wiki/CMake:Eclipse_UNIX_Tutorial

Eclipse for remote C/C++ project (Created by CMake)

On Juno, the procedure for CMake + Eclipse should be revised. To build a remote makefile project, the toolchain is not Other Toolchain. (If you choose Other Toolchain, you will get the error 'collect2: cannot find ld.' in the linking stage.)

The procedure is listed as follows:

Chose menu: File -> New -> Project

In the wizard:
  1. Remote -> remote C/C++ project -> Next
  2. Setup Project Name for your own convenience, set Remote Provider as Remote Tools, Connection as the host, Location as the path on the remote machine, and set Project type as Remote Makefile Project -> Empty Project -> Then choose Toolchains as Remote Linux GCC Tool Chain. -> Next
  3. Then you can click the button Finalize or Next to further customize the project.

Comments