Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Call a library uploaded in PiCloud
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
tao hong  
View profile  
 More options Mar 27 2012, 6:00 pm
From: tao hong <hongtao...@gmail.com>
Date: Tue, 27 Mar 2012 15:00:05 -0700 (PDT)
Local: Tues, Mar 27 2012 6:00 pm
Subject: Call a library uploaded in PiCloud

I have some basic questions of calling a Fortran model from GAE.

I uploaded a Fortran77 code to an test Environment, and then compiled it to
a .so file using f2py commend. In the following steps, I will need to send
input values which come from user inputs by filling a Django powered form
on a GAE hosted website. What confused me is that:

   1.

   Since I have already uploaded the complied file to PiCloud, do I still
   need to publish the library (function?)? If so, how should I do it (import
   the uploaded library then publish)?
   2.

   How do I execute the function (do the calculation)? For a python
   function, I can use something like:

   "response_val = urlfetch.fetch(url=url_val, method=urlfetch.GET,
   headers=http_headers) output_val =
   json.loads(response_val.content)['result']"

However, there is no "_env=environ_name" model in fetch, so any suggestion?

Thanks in advance and any suggestion is welcomed!


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »