File: petsc-ext

package info (click to toggle)
petsc 3.14.5%2Bdfsg1-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 266,472 kB
  • sloc: ansic: 680,898; python: 33,303; cpp: 16,324; makefile: 14,022; f90: 13,731; javascript: 10,713; fortran: 9,581; sh: 1,373; xml: 619; objc: 445; csh: 192; pascal: 148; java: 13
file content (14 lines) | stat: -rw-r--r-- 352 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#/bin/sh -e
# This little script determines the extensions on the PETSC_NAME, the shared
# library sonames, etc. based on nonstandard compiler and MPI implementations.

if [ "$1" = "linux_alpha_dec" ]; then
	echo -n "-dec";
fi
#if [ "$2" != "openmpi" ]; then
#	echo -n "-$2";
#fi
if [ "$3" != "main" ]; then
	echo -n "-$3";
fi
echo "$4" | sed "s/_/-/"