FIX: pos -> pnt
ENH: check that memory is free and use #!/bin/bash in SGE