Commit 50165f75 authored by Marco Govoni's avatar Marco Govoni

Updated tutorial west_300

parent 1d43735c
......@@ -40,8 +40,8 @@
" | | __/ | \n",
" |_| |___/ \n",
" \n",
"WEST version : 3.1.0\n",
"Today : 2018-09-19 15:02:57.396652\n"
"WEST version : 3.1.1\n",
"Today : 2018-09-19 15:33:45.581889\n"
]
}
],
......@@ -134,30 +134,32 @@
}
],
"source": [
"session = Session(\"marco.outatime@gmail.com\")"
"session = Session(\"your.email@domain.edu\")"
]
},
{
"cell_type": "code",
"execution_count": 9,
"execution_count": 10,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"{'Active': 'True', 'Time Left': '49 minutes'}\n"
]
"data": {
"text/plain": [
"{'Active': 'True', 'Time Left': '59 minutes'}"
]
},
"execution_count": 10,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"status = session.status()\n",
"print(status)"
"session.status()"
]
},
{
"cell_type": "code",
"execution_count": 10,
"execution_count": 11,
"metadata": {},
"outputs": [
{
......@@ -183,7 +185,7 @@
},
{
"cell_type": "code",
"execution_count": 11,
"execution_count": 12,
"metadata": {},
"outputs": [
{
......@@ -210,7 +212,7 @@
},
{
"cell_type": "code",
"execution_count": 12,
"execution_count": 13,
"metadata": {},
"outputs": [
{
......@@ -218,8 +220,7 @@
"output_type": "stream",
"text": [
"Requested to run executable wstat on server imedevel.uchicago.edu\n",
"Session Expired! Invalid Request sent, Please recreate session and recheck your input. \n",
"the JSON object must be str, bytes or bytearray, not dict\n"
"Generated wstat.out\n"
]
}
],
......@@ -236,7 +237,7 @@
},
{
"cell_type": "code",
"execution_count": 13,
"execution_count": 14,
"metadata": {},
"outputs": [
{
......@@ -249,10 +250,9 @@
}
],
"source": [
"data = {}\n",
"data[\"wfreq_control\"] = {}\n",
"data[\"wfreq_control\"][\"wfreq_calculation\"] = \"XWGQ\"\n",
"data[\"wfreq_control\"][\"n_pdep_eigen_to_use\"] = 50\n",
"data[\"wfreq_control\"][\"n_pdep_eigen_to_use\"] = 5\n",
"data[\"wfreq_control\"][\"qp_bandrange\"] = [1,5]\n",
"data[\"wfreq_control\"][\"n_refreq\"] = 300\n",
"data[\"wfreq_control\"][\"ecut_refreq\"] = 2.0\n",
......@@ -262,7 +262,7 @@
},
{
"cell_type": "code",
"execution_count": 14,
"execution_count": 16,
"metadata": {},
"outputs": [
{
......@@ -270,13 +270,12 @@
"output_type": "stream",
"text": [
"Requested to run executable wfreq on server imedevel.uchicago.edu\n",
"Server failed with the following error \n",
" can only join an iterable\n"
"Generated wfreq.out\n"
]
}
],
"source": [
"wfreq_output = session.run(\"wfreq\",\"wfreq.in\",\"wfreq.out\",3)"
"wfreq_output = session.run(\"wfreq\",\"wfreq.in\",\"wfreq.out\",download,3)"
]
},
{
......@@ -288,9 +287,20 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 17,
"metadata": {},
"outputs": [],
"outputs": [
{
"data": {
"text/plain": [
"{'Success': 'Session removed and cleared'}"
]
},
"execution_count": 17,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"session.stop()"
]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment