L1_NORM
A program for the l1 norm of a vector


L1_NORM is a warmup exercise for our lab session on Monday.

I asked you to write a program, using OpenMP, that sets up a vector of dimension 1000 filled with random values, and computes the l1 norm sequentially and with OpenMP.

Source Code:

Script for execution on a local system:

Script for execution on the FSU HPC Cluster:


You can go up one level to the OpenMP page.

Last revised on 11 October 2011.