Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix fypp_deployment build and set maxrank default to 4 as in cmake #882

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions config/fypp_deployment.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,11 +122,11 @@ def fpm_build(args,unknown):
flags= flags + unknown[idx+1]
#==========================================
# build with fpm
subprocess.run(["fpm build"]+
[" --compiler "]+[FPM_FC]+
[" --c-compiler "]+[FPM_CC]+
[" --cxx-compiler "]+[FPM_CXX]+
[" --flag "]+[flags], shell=True, check=True)
subprocess.run("fpm build"+
" --compiler "+FPM_FC+
" --c-compiler "+FPM_CC+
" --cxx-compiler "+FPM_CXX+
" --flag \"{}\"".format(flags), shell=True, check=True)
return

if __name__ == "__main__":
Expand All @@ -137,7 +137,7 @@ def fpm_build(args,unknown):
parser.add_argument("--vpatch", type=int, default=0, help="Project Version Patch")

parser.add_argument("--njob", type=int, default=4, help="Number of parallel jobs for preprocessing")
parser.add_argument("--maxrank",type=int, default=7, help="Set the maximum allowed rank for arrays")
parser.add_argument("--maxrank",type=int, default=4, help="Set the maximum allowed rank for arrays")
parser.add_argument("--with_qp",action='store_true', help="Include WITH_QP in the command")
parser.add_argument("--with_xdp",action='store_true', help="Include WITH_XDP in the command")
parser.add_argument("--lnumbering",action='store_true', help="Add line numbering in preprocessed files")
Expand Down
Loading