#!/bin/sh LIB="-L/(location of wgrib2-grib2)/lib -lwgrib2 -lnetcdf -lipolate -lgeo -lproj -lgrib2c -ljasper -lpng -lgfortran -lz -lm" gcc -fopenmp -o test0 test0.c ${LIB} gcc -fopenmp -o test1 test1.c ${LIB} gcc -fopenmp -o test2 test2.c ${LIB} gcc -fopenmp -o test3 test3.c ${LIB} gcc -fopenmp -o test4 test4.c ${LIB} gcc -fopenmp -o test5 test5.c ${LIB} gcc -fopenmp -o test6 test6.c ${LIB}