This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#pragma once | |
const double gamma_table[18][700] = { | |
1.0000000000000001E+00, | |
9.9999999996473882E-01, | |
9.9999999856422813E-01, | |
9.9999998888660239E-01, | |
9.9999995365084444E-01, | |
9.9999986117081982E-01, | |
9.9999966203208548E-01, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#pragma once | |
const double gamma_table[18][700] = { | |
1.0000000000000001E+00, | |
9.9999999996473882E-01, | |
9.9999999856422813E-01, | |
9.9999998888660239E-01, | |
9.9999995365084444E-01, | |
9.9999986117081982E-01, | |
9.9999966203208548E-01, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
###################################################################### | |
## Cori | |
###################################################################### | |
+ lsb_release -a | |
LSB Version: n/a | |
Distributor ID: SUSE | |
Description: SUSE Linux Enterprise Server 12 SP3 | |
Release: 12.3 | |
Codename: n/a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Copyright 2019 Stanford University | |
-- | |
-- Licensed under the Apache License, Version 2.0 (the "License"); | |
-- you may not use this file except in compliance with the License. | |
-- You may obtain a copy of the License at | |
-- | |
-- http://www.apache.org/licenses/LICENSE-2.0 | |
-- | |
-- Unless required by applicable law or agreed to in writing, software | |
-- distributed under the License is distributed on an "AS IS" BASIS, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local C = terralib.includecstring [[ | |
#include "stdio.h" | |
#include "stdlib.h" | |
#include "stdbool.h" | |
#include "stdint.h" | |
typedef int TempProfile; | |
#define TempProfile_File 0 | |
typedef int InflowProfile; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import "regent" | |
local C = regentlib.c | |
local SCHEMA = terralib.includecstring [[ | |
#ifndef __CONFIG_SCHEMA_H__ | |
#define __CONFIG_SCHEMA_H__ | |
#include <stdbool.h> | |
#include <stdint.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local C = terralib.includecstring | |
[[ | |
#ifndef __CONFIG_SCHEMA_H__ | |
#define __CONFIG_SCHEMA_H__ | |
#include <stdbool.h> | |
#include <stdint.h> | |
typedef int TurbForcingModel; | |
#define TurbForcingModel_OFF 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local C = terralib.includec("stdio.h") | |
local SCHEMA = terralib.includecstring | |
[[ | |
#ifndef __CONFIG_SCHEMA_H__ | |
#define __CONFIG_SCHEMA_H__ | |
#include <stdbool.h> | |
#include <stdint.h> | |
typedef int TempProfile; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11816:/opt/rh/devtoolset-7/root/usr/bin/c++ | |
-g | |
-I/hbb_exe/include | |
-fPIC | |
-fPIC | |
-fvisibility-inlines-hidden | |
-Werror=date-time | |
-std=c++11 | |
-Wall |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ docker run -v `pwd`:/io terra/build-box:no-libcxx bash -c "cd /io && /hbb/bin/setuser builder ./hbb-builder.sh" | |
Holy build box activated | |
Prefix: /hbb_shlib | |
CFLAGS/CXXFLAGS: -g -O2 -fvisibility=hidden -I/hbb_shlib/include | |
LDFLAGS: -L/hbb_shlib/lib -static-libstdc++ | |
STATICLIB_CFLAGS: -g -O2 -fvisibility=hidden -I/hbb_shlib/include -fPIC | |
SHLIB_CFLAGS: -g -O2 -fvisibility=hidden -I/hbb_shlib/include | |
SHLIB_LDFLAGS: -L/hbb_shlib/lib -static-libstdc++ | |
+ mkdir -p /io/build |
NewerOlder