Skip to content
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.

Parallel option is not working in install.sh #1044

Closed
catzzz opened this issue Jan 3, 2022 · 0 comments
Closed

Parallel option is not working in install.sh #1044

catzzz opened this issue Jan 3, 2022 · 0 comments
Assignees
Labels
bug Request a fix or change to the code

Comments

@catzzz
Copy link
Contributor

catzzz commented Jan 3, 2022

Problem description

The parallel option is not working when running "install.sh".
Missing $SYSTEM variable.

Steps to reproduce

./install.sh -v --parallel

Expected behavior

The installation process should perform parallel with "nproc > 1". However, the "nproc" is always equal to 1 with parallel option.
The $SYSTEM variable is missing.

System information

  • GridLAB-D version: gridlabd --version=4.2.28-211105-master
  • Operating system: (Amzon EC2)Linux ip-172-31-15-244.us-east-2.compute.internal 5.10.75-79.358.amzn2.x86_64 hgh #1 SMP Thu Nov 4 21:08:30 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
@catzzz catzzz added the bug Request a fix or change to the code label Jan 3, 2022
dchassin pushed a commit that referenced this issue Jan 6, 2022
* fix make install causes pyhton validation error fix #1056
* fix missing  when using --parallel option #1044
* update python3.9.6 and necessary packages
* update mono installation
* fix numpy and matrix version not the latest version issue. #1045
* repair test_matrix_random,#assert  == '1.22.0'
* remove test Dockerfile'
* modify  in test_matrix_*.glm
* add test Dockerfile
* test success, remove Dockerfile
* update test_matrix.glm #assert !  '<' '1.21.0'
* add python package
* add test Dockerfile
* test and validate success, remove Dockerfile
Co-authored-by: JimmyLeu76 <jimmyleu@slac.stanford.edu>
Co-authored-by: David P. Chassin <david.chassin@me.com>
dchassin added a commit that referenced this issue Jan 9, 2022
* fix make install causes pyhton validation error fix #1056
* fix missing  when using --parallel option #1044
* update python3.9.6 and necessary packages
* update mono installation
* fix numpy and matrix version not the latest version issue. #1045
* repair test_matrix_random,#assert  == '1.22.0'
* remove test Dockerfile'
* temporary Dockerfile. one validation error : ERROR    [2000-01-01 00:00:00 EST] : on_exit 0 'test  == CURRENT' command failed (return code 2)
* fix test_violation_record.glm. sh: 1: test: CURRENT: unexpected operatordone)...; I should try on centos to check if this test valid
* update
* add test Dockerfile
* add temporary test Dockerfile for debian
* updat python3.9.6 installation
* update build toos for gridlabd
* try the final test
* update installation dependencies
* remove merge confic
* add test Dockerfile of debian 10
* final test and validation pass. remove Dockerfile
* Remove deltamode failure tests
* Remove more unneeded deltamode error tests

Co-authored-by: JimmyLeu76 <jimmyleu@slac.stanford.edu>
Co-authored-by: David P. Chassin <david.chassin@me.com>
@dchassin dchassin closed this as completed Jan 9, 2022
aivanova5 added a commit that referenced this issue Feb 16, 2022
* fix make install causes pyhton validation error fix #1056

* fix missing  when using --parallel option #1044

* update python3.9.6 and necessary packages

* update mono installation

* fix numpy and matrix version not the latest version issue. #1045

* repair test_matrix_random,#assert  == '1.22.0'

* remove test Dockerfile'

* add setup-Linux-debian-11.sh

* copy debian10 content to debian11

* add  --enable-share  in debian 11

* temporary test file

* add --enable-shared , remove unnecessary dependencies for test

* set localtime from America/Los_Angeles

* passs installation and validation

* merge from previous change about

* add determine timezone condition

* modify bash if condifion

* remove temporary Dockerfile and restore install docemnts dependencies

* temperory file for windows wsl test

* pass installation and validation in docker and windows/wsl

* add install idalog -y

* fix shell arrow key broken

* add get timezone from web. if the httpcode is not 200, set default timezone as UTC/GMT

* add update pip

* remove Dockerfile, pass installation and validation in Docker debian:11 and Windows/WSL/Debian

* remove dupliacte install curl

* add config tzdata

* check /etc/timezone exist

Co-authored-by: JimmyLeu76 <jimmyleu@slac.stanford.edu>
Co-authored-by: Alyona Teyber <Ivanova.alyona5@gmail.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Request a fix or change to the code
Projects
None yet
Development

No branches or pull requests

2 participants