test if programs are available before starting calculation