3 Running NetFEM Online

Once you have a NetFEM program, you can run it and view the results online by starting the program with CCS enabled:

   foo.bar.edu>  ./charmrun ./myprogram +p2 ++server ++server-port 1234

``++server-port'' controls the TCP port number to use for CCS--here, we use 1234. Currently, NetFEM only works with one chunk per processor--that is, the -vp option cannot be used.

To view the results online, you then start the NetFEM client, which can be downloaded for Linux or Windows from

http://charm.cs.uiuc.edu/research/fem/netfem/

Enter the name of the machine running charmrun and the TCP port number into the NetFEM client--for example, you might run:

  netfem foo.bar.edu:1234

The NetFEM client will then connect to the program, download the most recent mesh registered with NetFEM_POINTAT, and display it. At any time, you can press the ``update'' button to reload the latest mesh.



June 29, 2008
FEM Homepage
Charm Homepage