Batch mode with variable parameter options finished

remove openmp dependency in all C code, using a fortran wrapper
unfortunately libtool still puts the -fopenmp option in
inherited_linker_flags of the library file, causing a linker issue in
all executables if clang is used