OpenMPI on Raspberry Pi with Checkpoint/Restart support - arm

I have a simple question.
Does OpenMPI on Raspberry PI i.e. ARM provide the Checkpoint/Restart feature?
I have MPICH with BLCR but I can't restart any application.
(MPICH and BLCR are built myself)
So I would try out with OpenMPI. (yes I mean OpenMPI because I do not get any answer to my MPICH Problem)
I saw that there are openmpi-bin, openmpi-common, openmpi-doc packages but no openmpi-checkpoint available.
Thank you in advance and a happy new year!

Ah. In that case, the best answer I have is "supposedly, for some versions".
From the OpenMPI FAQ (http://www.open-mpi.org/faq/?category=ft):
The checkpoint/restart support was last released as part of the v1.6 series. The v1.7 series and the Open MPI trunk do not support this functionality (most of the code is present in the repository, but it is known to be non-functional in most cases). This feature is looking for a maintainer. Interested parties should inquire on the developers mailing list.
BLCR itself has "experimental" ARM support. I know that someone tested this during development, but that may well have been 3 years ago.

Related

How to program LEGO Mindstorms EV3 using C language?

First of all, I'm new for this and I need a little help!
I have a LEGO Mindstorms EV3 robot, I downloaded (LEGO Mindstorms EV3 Home Edition) to control the EV3. Unfortunately, I couldn't find the source code for the EV3 in the mentioned software. So, please if anybody could tell me the name of the software that enables you to program EV3! I would be most appreciated!
I also downloaded (Bricxcc) software but it was an old version. I couldn't find a newer version which contains EV3.
Can I use C language to program EV3 ? Or to add some features to the sensors?
Note: I ended with leJOS software to program the code with java it is much easier and there are a lot of resources for the EV3 brick in java. Wish you all the best!
You can find the EV3 source code here: https://github.com/mindboards/ev3sources
The generated documentation from this source code is available here and here.
Bricxcc has some experimental support for EV3 but it is not being actively developed (since Oct. 2013). You can find the latest test version here. Searching the web for "bricxcc ev3" will come up with some tutorials (for example, the one at http://www.robotnav.com looks good).
ROBOTC is a good alternative, although it is not free.
There is also ev3dev. There is a C library for ev3dev here or you can write your own.
The EV3 runs on Linux w/ glibc, so you only need to upload your C programs. For C++ you need to copy over the C++ standard library. Programming like that is a bit inconvenient, as you have to mess directly with the device files.
The c4ev3 bundle streamlines this. It's built around an Eclipse Plugin that includes a GCC Toolchain, an API and an integrated Uploader and File browser usable right out of Eclipse.
C and C++ Hello World template projects are included.
API and Uploader are also usable separately from Eclipse, so you can use it however you like.
Check it out :-)
Disclosure: I wrote part of the software.

Using different GCC to build Linux vs Linux Apps

This question may seem weird for some gurus out there, but I'm a little perplexed.
Basically what I want to do is to evaluate different tool chain for developing applications on embedded Linux. Say I have my Linux built using Yocto Project, which cross-compiles GCC from scratch can provide it as a cross toolchain for apps developers.
But if I want to try out different toolchains fro this point, say Sourcery CodeBench or a toolchain generated using BuildRoot, is it possible to build a applications using these toolchains and still run them on the Yocto-generated Linux? I'd imagine this is doable is built statically. But if we then want to link dynamically, it's simply a matter of copying over libc?
Thanks for the help. Sorry if question is ambiguous.

Is there an IDE that works with CUDA on mac osx lion?

I'm trying to learn Cuda and its very interesting but I'm having problems creating code without a bit of help from an IDE. I know Java/Python but I'm unfamiliar with C/C++ so I have been using eclipse and Xcode to help me with commands and finding things(via code code completion). I can't seem to get these options for CUDA?
I have seen examples and can build them find(nvcc is working) but without the IDE to help catch some of my mistakes I'm a bit lost editing the code in just a text editor. I found a toolkit plugin for eclipse but although it seems to install I think its for a older build of eclipse because most of the options in the instructions do not match my version(Indigo). Nvidia has a plugin for Visual studio only on their site(I'd rather not install windows on my mac to use Cuda).
I'm sorry if this sounds bad but I'm curious to how people are developing cuda on Mac's. I don't care what IDE I use as long as it helps me see the options and warn me if I have syntax issues,etc..(I'm not the best programmer but switching IDE's for me has just been a matter of finding out where things are so I'm really fine with any solution as long as it helps me as I'm learning).
Nsight Eclipse Edition is available as a part of the CUDA Toolkit 5.0 (no additional download required).
Qt Creator!
You can read Qt Creator + CUDA + Linux for inspiration on how to setup the build environment on Mac OS X.
You could think about using JCuda:
http://www.jcuda.de/
There is XCode plug-in for CUDA development. I found it there. There is the main discussion on nvidia.com
Visual Studio Code + this extension:
https://github.com/gangliao/VS-Code-Cuda.
For me, Visual Studio Code is my favorite IDE for every language I found out there

Any way of running GTK libraries In Windows OS using C?

After a whole week of trying to get GTK working on Cygwin and MinGW using makefile, I've hit a stone cold wall. Does anyone please, anyone know how I can program using C and GTK libraries in widows operating system that WORKS? If there is can anyone give me step by step instructions please! The environment has to run the hello world program as an example: http://en.wikipedia.org/wiki/GTK%2B
Thanks in advance!
It's a bit tricky to configure GTK+ toolchain on Windows.
The easiest way is to use this GTK+ bundle. It provide easy to use and install GTK+ runtime environment. You will find there note how to extend this runtime for developing purposes.
According to GTK+'s mailing list version 2.16 is known to be the most stable, however maybe it's good idea to try newer one.
Moreover go to GTK+'s home page and read threads about GTK+ & Windows 7 on the gtk-app-devel mailing list.

glib on Symbian S60

I am interested in porting a C library that depends on glib to Symbian.
After some research, I found that there is a Symbian port of glib. However I can't seem to find much documentation about it. Can anyone point me to the right direction as to whether this can be even done or not? If yes, how.
Forum Nokia has a lot of resources for developing for Nokia/S60 devices.
The glib port is part of the Open C/C++ plug-ins. Download and install them on top of your SDK to get started.

Resources