|
462 | 462 | },
|
463 | 463 | {
|
464 | 464 | "cell_type": "code",
|
465 |
| - "execution_count": 10, |
| 465 | + "execution_count": 17, |
466 | 466 | "id": "f7d54f29",
|
467 | 467 | "metadata": {},
|
468 | 468 | "outputs": [],
|
|
481 | 481 | " \n",
|
482 | 482 | " code_to_write = \"\"\"\n",
|
483 | 483 | " using Pkg\n",
|
484 |
| - " Pkg.add([\"Combinatorics\", \"Distributions\", \"Random\", \"JSON\",\"Interpolations\"])\n", |
| 484 | + " Pkg.add([\"Combinatorics\", \"Distributions\", \"Random\",\"JSON\",\"Interpolations\"])\n", |
485 | 485 | " using Random,Combinatorics,Distributions\n",
|
486 | 486 | " include(\"Droplets.jl-src-SDfunc-constants.jl\")\n",
|
487 | 487 | " include(\"Droplets.jl-src-SDfunc-coalescence.jl\")\n",
|
488 | 488 | " include(\"Droplets.jl-src-SDfunc-binning.jl\")\n",
|
489 |
| - " using JSON,Plots\n", |
| 489 | + " using JSON\n", |
490 | 490 | " \n",
|
491 | 491 | " FT = Float64\n",
|
492 | 492 | " setup = JSON.parsefile(\"./setup.json\")\n",
|
|
539 | 539 | " open(\"output.json\", \"w\") do file\n",
|
540 | 540 | " write(file, json_string)\n",
|
541 | 541 | " end\n",
|
| 542 | + "\n", |
| 543 | + " using Printf\n", |
| 544 | + " @printf(\"%d\\n\", Sys.free_memory()/2^20) \n", |
542 | 545 | " \"\"\"\n",
|
543 | 546 | "\n",
|
544 | 547 | " with open('script.jl', 'w', encoding='utf-8') as file:\n",
|
|
555 | 558 | },
|
556 | 559 | {
|
557 | 560 | "cell_type": "code",
|
558 |
| - "execution_count": 11, |
| 561 | + "execution_count": 18, |
559 | 562 | "id": "b33d3ccb",
|
560 | 563 | "metadata": {},
|
561 | 564 | "outputs": [
|
|
567 | 570 | "Instantiating RunPartMC\n",
|
568 | 571 | "Instantiating RunPySDM\n",
|
569 | 572 | "Instantiating NewModelRun\n",
|
570 |
| - "Instantiating RunDropletsJL\n", |
571 |
| - "Running analytical...\n", |
572 |
| - "Running PartMC...\n", |
573 |
| - "Running PySDM...\n", |
574 |
| - "Running ...\n", |
575 |
| - "Running Droplets.jl...\n" |
576 |
| - ] |
577 |
| - }, |
578 |
| - { |
579 |
| - "name": "stderr", |
580 |
| - "output_type": "stream", |
581 |
| - "text": [ |
582 |
| - " Resolving package versions...\n", |
583 |
| - " No Changes to `~/.julia/environments/v1.11/Project.toml`\n", |
584 |
| - " No Changes to `~/.julia/environments/v1.11/Manifest.toml`\n" |
| 573 | + "Instantiating RunDropletsJL\n" |
585 | 574 | ]
|
586 | 575 | }
|
587 | 576 | ],
|
|
0 commit comments