CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

problem with launching aws instance using the cfddfc CLI

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree2Likes
  • 1 Post By AAbouali
  • 1 Post By saladbowl

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 17, 2018, 13:56
Default problem with launching aws instance using the cfddfc CLI
  #1
New Member
 
Abdelrahman Abouali
Join Date: Mar 2017
Location: Coimbra, Portugal
Posts: 2
Rep Power: 0
AAbouali is on a distinguished road
Hi

I get this error when I try to use the launch command from the cfddfc CLI:
$ cfddfc launch -instance list
date: invalid date ‘Fev 3 2018’
/usr/local/cfddfc-cli/bin/launch: 182: [: Illegal number:
****
There is a new version of the CFDDFC Command Line Interface (these scripts)
available now. Please follow the instructions to install the latest version:
https://cfd.direct/cloud/aws/cli/install/
****

I don't understand what's wrong! I have configured the aws and I can run "cfddfc config" and it shows that everything is configured. I tried to install again the cfddfc but the same problem happens

any help or suggestions, please? I am using Ubuntu 16.04 LTS
EmaManu likes this.
AAbouali is offline   Reply With Quote

Old   September 14, 2018, 12:26
Default
  #2
New Member
 
Emanuele Ponzano
Join Date: Feb 2018
Posts: 15
Rep Power: 8
EmaManu is on a distinguished road
I have just met the same problem!
EmaManu is offline   Reply With Quote

Old   April 19, 2021, 01:56
Default
  #3
New Member
 
Juan Salazar
Join Date: Jun 2019
Posts: 19
Rep Power: 6
saladbowl is on a distinguished road
Running on macOS Catalina 10.15.7, the "date" command used in the bash lib file "config" in the /usr/local/cfddfc-cli/lib folder (system wide installation), within the "checkCliUpdate" function, while setting the "_minus_two_weeks" variable (line 246 of config), was using a "-d" option not recognised by the version of date available on my OS. Basically what I did was use a different command for setting the "_minus_two_weeks" variable, given below:

_minus_two_weeks="$(date -v-14d +%Y%m%d)"

That did it for me. This command gets the current date and subtracts fourteen days from it and outputs the date with year followed by month and day, without any separators.

But...

I have found other parts that have not worked properly on my OS and so far I have not been able to submit jobs via cfddfc.
arvindpj likes this.
saladbowl is offline   Reply With Quote

Reply

Tags
aws, cfddfc

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Star CCM 10 and 11 Launching Problem CPuser STAR-CCM+ 0 September 29, 2016 22:57
Problem about launching Flow3D johnsonw FLOW-3D 0 April 29, 2014 03:53
[General] Paraview problem while launching Tobi ParaView 3 May 11, 2013 16:25
Star CCM Launching problem amiripa STAR-CCM+ 5 May 2, 2012 19:59
Gambit - meshing over airfoil wrapping (?) problem JFDC FLUENT 1 July 11, 2011 06:59


All times are GMT -4. The time now is 05:38.